Revision 4946b635
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/MovementCube.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
32 | 32 |
|
33 |
MovementCube(float[][] cuts, boolean[][] rotatable, int numLayers)
|
|
33 |
MovementCube(float[][] cuts, boolean[][] rotatable, int size)
|
|
34 | 34 |
{ |
35 |
super(TwistyCube.ROT_AXIS,cuts,rotatable,numLayers);
|
|
35 |
super(TwistyCube.ROT_AXIS,cuts,rotatable,size);
|
|
36 | 36 |
} |
37 | 37 |
|
38 | 38 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major abstraction - automatically compute the 'computeRowFromOffset()' function from CUTS.
Still one thing left: it appears like the CUTS of Mega/Kilominxes are not correct.