Revision 2dffaf22
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/objectlib/objects/TwistyPyraminx.java | ||
---|---|---|
22 | 22 |
import org.distorted.objectlib.helpers.ObjectSignature; |
23 | 23 |
import org.distorted.objectlib.helpers.ObjectVertexEffects; |
24 | 24 |
import org.distorted.objectlib.main.InitData; |
25 |
import org.distorted.objectlib.main.ObjectSignatures; |
|
25 | 26 |
import org.distorted.objectlib.touchcontrol.TouchControlTetrahedron; |
26 | 27 |
import org.distorted.objectlib.main.ObjectType; |
27 | 28 |
import org.distorted.objectlib.helpers.ObjectShape; |
... | ... | |
405 | 406 |
{ |
406 | 407 |
switch(getNumLayers()[0]) |
407 | 408 |
{ |
408 |
case 3: return new ObjectSignature(ObjectType.PYRA_3);
|
|
409 |
case 4: return new ObjectSignature(ObjectType.PYRA_4);
|
|
410 |
case 5: return new ObjectSignature(ObjectType.PYRA_5);
|
|
409 |
case 3: return new ObjectSignature(ObjectSignatures.PYRA_3);
|
|
410 |
case 4: return new ObjectSignature(ObjectSignatures.PYRA_4);
|
|
411 |
case 5: return new ObjectSignature(ObjectSignatures.PYRA_5);
|
|
411 | 412 |
} |
412 | 413 |
|
413 | 414 |
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