Project

General

Profile

« Previous | Next » 

Revision 4946b635

Added by Leszek Koltunski over 2 years ago

Major abstraction - automatically compute the 'computeRowFromOffset()' function from CUTS.
Still one thing left: it appears like the CUTS of Mega/Kilominxes are not correct.

View differences:

src/main/java/org/distorted/objects/MovementSquare.java
23 23

  
24 24
class MovementSquare extends Movement6
25 25
{
26
  MovementSquare(float[][] cuts, boolean[][] rotatable, int numLayers)
26
  MovementSquare(float[][] cuts, boolean[][] rotatable, int size)
27 27
    {
28
    super(TwistySquare.ROT_AXIS,cuts,rotatable,numLayers);
28
    super(TwistySquare.ROT_AXIS,cuts,rotatable,size);
29 29
    }
30 30

  
31 31
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff