Project

General

Profile

« Previous | Next » 

Revision 5f54927b

Added by Leszek Koltunski over 2 years ago

Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyBandagedBiCube.java
231 231
///////////////////////////////////////////////////////////////////////////////////////////////////
232 232
// PUBLIC API
233 233

  
234
  public ObjectType intGetObjectType(int[] numLayers)
234
  public String getShortName()
235 235
    {
236
    return ObjectType.BAN4_3;
236
    return ObjectType.BAN4_3.name();
237
    }
238

  
239
///////////////////////////////////////////////////////////////////////////////////////////////////
240

  
241
  public long getSignature()
242
    {
243
    return ObjectType.BAN4_3.ordinal();
237 244
    }
238 245

  
239 246
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff