Revision 5f54927b
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistySquare2.java | ||
---|---|---|
297 | 297 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
298 | 298 |
// PUBLIC API |
299 | 299 |
|
300 |
public ObjectType intGetObjectType(int[] numLayers)
|
|
300 |
public String getShortName()
|
|
301 | 301 |
{ |
302 |
return ObjectType.SQU2_3; |
|
302 |
return ObjectType.SQU2_3.name(); |
|
303 |
} |
|
304 |
|
|
305 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
306 |
|
|
307 |
public long getSignature() |
|
308 |
{ |
|
309 |
return ObjectType.SQU2_3.ordinal(); |
|
303 | 310 |
} |
304 | 311 |
|
305 | 312 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.