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/TwistyMorphix.java
287 287

  
288 288
///////////////////////////////////////////////////////////////////////////////////////////////////
289 289

  
290
  public ObjectType intGetObjectType(int[] numLayers)
290
  public String getShortName()
291 291
    {
292
    return ObjectType.MORP_2;
292
    return ObjectType.MORP_2.name();
293
    }
294

  
295
///////////////////////////////////////////////////////////////////////////////////////////////////
296

  
297
  public long getSignature()
298
    {
299
    return ObjectType.MORP_2.ordinal();
293 300
    }
294 301

  
295 302
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff