Revision 967c1d17
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/TwistySquare1.java | ||
---|---|---|
70 | 70 |
{ |
71 | 71 |
if( mQuats==null ) initializeQuats(); |
72 | 72 |
int status = retCubitSolvedStatus(cubit,numLayers); |
73 |
return status<0 ? null : buildSolvedQuats(MovementSquare.FACE_AXIS[status],mQuats);
|
|
73 |
return status<0 ? null : buildSolvedQuats(Movement6.FACE_AXIS[status],mQuats);
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Do away with the last method in the object Movement classes. Remove the object Movement classes altogether.
From now on the implementation of a TwistyPuzzle is 100% data, no code at all.
Next step: make the implementation a (generated?) (XML?) file.