Revision e782e026
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/TwistyRedi.java | ||
---|---|---|
119 | 119 |
{ |
120 | 120 |
if( mQuats==null ) initializeQuats(); |
121 | 121 |
int status = retCubitSolvedStatus(cubit,numLayers); |
122 |
return status<0 ? null : buildSolvedQuats(MovementRedi.FACE_AXIS[status],mQuats);
|
|
122 |
return status<0 ? null : buildSolvedQuats(MovementCornerTwisting.FACE_AXIS[status],mQuats);
|
|
123 | 123 |
} |
124 | 124 |
|
125 | 125 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Realize that the Movements of Rex, Redi, Dino and the Skewbs are all identical and convert those 4 classes into one MovementCornerTwisting.