Revision 3c4a326c
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikObjectList.java | ||
---|---|---|
22 | 22 |
import org.distorted.library.main.DistortedEffects; |
23 | 23 |
import org.distorted.library.main.DistortedTexture; |
24 | 24 |
import org.distorted.library.mesh.MeshRectangles; |
25 |
import org.distorted.library.type.Static3D; |
|
26 | 25 |
import org.distorted.library.type.Static4D; |
27 | 26 |
import org.distorted.magic.R; |
28 | 27 |
|
... | ... | |
38 | 37 |
CUBE5 ( 5, R.drawable.button5 , RubikCube.class, RubikCubeMovement.class), |
39 | 38 |
; |
40 | 39 |
|
41 |
public static final int VECTX = 0; // |
|
42 |
public static final int VECTY = 1; // don't change this |
|
43 |
public static final int VECTZ = 2; // |
|
44 |
static final Static3D VectX = new Static3D(1,0,0); |
|
45 |
static final Static3D VectY = new Static3D(0,1,0); |
|
46 |
static final Static3D VectZ = new Static3D(0,0,1); |
|
47 |
|
|
48 | 40 |
public static final int LENGTH = values().length; |
49 | 41 |
private final int mObjectSize, mIconID; |
50 | 42 |
final Class<? extends RubikObject> mObjectClass; |
Also available in: Unified diff
More work on making new types of RubikObjects easily creatable.