Revision 2dffaf22
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyMegaminx.java | ||
---|---|---|
23 | 23 |
import org.distorted.objectlib.helpers.ObjectSignature; |
24 | 24 |
import org.distorted.objectlib.helpers.ObjectVertexEffects; |
25 | 25 |
import org.distorted.objectlib.main.InitData; |
26 |
import org.distorted.objectlib.main.ObjectSignatures; |
|
26 | 27 |
import org.distorted.objectlib.main.ObjectType; |
27 | 28 |
import org.distorted.objectlib.helpers.ObjectShape; |
28 | 29 |
|
... | ... | |
509 | 510 |
{ |
510 | 511 |
switch(getNumLayers()[0]) |
511 | 512 |
{ |
512 |
case 3: return new ObjectSignature(ObjectType.MEGA_3);
|
|
513 |
case 5: return new ObjectSignature(ObjectType.MEGA_5);
|
|
513 |
case 3: return new ObjectSignature(ObjectSignatures.MEGA_3);
|
|
514 |
case 5: return new ObjectSignature(ObjectSignatures.MEGA_5);
|
|
514 | 515 |
} |
515 | 516 |
|
516 | 517 |
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