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/TwistyRedi.java
358 358

  
359 359
///////////////////////////////////////////////////////////////////////////////////////////////////
360 360

  
361
  public ObjectType intGetObjectType(int[] numLayers)
361
  public String getShortName()
362 362
    {
363
    return ObjectType.REDI_3;
363
    return ObjectType.REDI_3.name();
364
    }
365

  
366
///////////////////////////////////////////////////////////////////////////////////////////////////
367

  
368
  public long getSignature()
369
    {
370
    return ObjectType.REDI_3.ordinal();
364 371
    }
365 372

  
366 373
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff