1
0

GAME1が動くようになった

This commit is contained in:
otya128
2015-08-20 20:11:33 +09:00
parent 886be04289
commit 8e0a4e0ae4
8 changed files with 275 additions and 30 deletions

View File

@@ -124,6 +124,10 @@ class Array(T)
dim[2] = 0;
dim[3] = 0;
array = new T[len];
static if(is(T == double))
{
array[] = 0;
}
dimCount = 1;
}
this(int[] dim)
@@ -135,6 +139,10 @@ class Array(T)
this.dim[i] = dim[i];
}
array = new T[len];
static if(is(T == double))
{
array[] = 0;
}
dimCount = dim.length;
}
T opIndexAssign(T v, int[] dim)