Revision 2dffaf22
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyMirror.java | ||
---|---|---|
21 | 21 |
import org.distorted.objectlib.helpers.ObjectFaceShape; |
22 | 22 |
import org.distorted.objectlib.helpers.ObjectSignature; |
23 | 23 |
import org.distorted.objectlib.helpers.ObjectVertexEffects; |
24 |
import org.distorted.objectlib.main.ObjectSignatures; |
|
24 | 25 |
import org.distorted.objectlib.scrambling.ScrambleEdgeGenerator; |
25 | 26 |
import org.distorted.objectlib.main.InitData; |
26 | 27 |
import org.distorted.objectlib.main.ObjectType; |
... | ... | |
362 | 363 |
{ |
363 | 364 |
switch(getNumLayers()[0]) |
364 | 365 |
{ |
365 |
case 2: return new ObjectSignature(ObjectType.MIRR_2);
|
|
366 |
case 3: return new ObjectSignature(ObjectType.MIRR_3);
|
|
367 |
case 4: return new ObjectSignature(ObjectType.MIRR_4);
|
|
366 |
case 2: return new ObjectSignature(ObjectSignatures.MIRR_2);
|
|
367 |
case 3: return new ObjectSignature(ObjectSignatures.MIRR_3);
|
|
368 |
case 4: return new ObjectSignature(ObjectSignatures.MIRR_4);
|
|
368 | 369 |
} |
369 | 370 |
|
370 | 371 |
return null; |
Also available in: Unified diff
- add the Pyraminx Duo solver to the list
- make the signature of an object independent of its location in the ObjectType enum