Revision 5f54927b
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyAxis.java | ||
---|---|---|
471 | 471 |
|
472 | 472 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
473 | 473 |
|
474 |
public int[] getBasicAngles()
|
|
474 |
public String getShortName()
|
|
475 | 475 |
{ |
476 |
if( mBasicAngle ==null ) mBasicAngle = new int[] { 4,4,4 }; |
|
477 |
return mBasicAngle; |
|
476 |
return ObjectType.AXIS_3.name(); |
|
478 | 477 |
} |
479 | 478 |
|
480 | 479 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
481 | 480 |
|
482 |
public ObjectType intGetObjectType(int[] numLayers)
|
|
481 |
public long getSignature()
|
|
483 | 482 |
{ |
484 |
return ObjectType.AXIS_3; |
|
483 |
return ObjectType.AXIS_3.ordinal(); |
|
484 |
} |
|
485 |
|
|
486 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
487 |
|
|
488 |
public int[] getBasicAngles() |
|
489 |
{ |
|
490 |
if( mBasicAngle ==null ) mBasicAngle = new int[] { 4,4,4 }; |
|
491 |
return mBasicAngle; |
|
485 | 492 |
} |
486 | 493 |
|
487 | 494 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.