Revision 5f54927b
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistySquare1.java | ||
---|---|---|
263 | 263 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
264 | 264 |
// PUBLIC API |
265 | 265 |
|
266 |
public ObjectType intGetObjectType(int[] numLayers)
|
|
266 |
public String getShortName()
|
|
267 | 267 |
{ |
268 |
return ObjectType.SQU1_3; |
|
268 |
return ObjectType.SQU1_3.name(); |
|
269 |
} |
|
270 |
|
|
271 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
272 |
|
|
273 |
public long getSignature() |
|
274 |
{ |
|
275 |
return ObjectType.SQU1_3.ordinal(); |
|
269 | 276 |
} |
270 | 277 |
|
271 | 278 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.