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/TwistyFisher.java
390 390

  
391 391
///////////////////////////////////////////////////////////////////////////////////////////////////
392 392

  
393
  public ObjectType intGetObjectType(int[] numLayers)
393
  public String getShortName()
394 394
    {
395
    return ObjectType.FISH_3;
395
    return ObjectType.FISH_3.name();
396
    }
397

  
398
///////////////////////////////////////////////////////////////////////////////////////////////////
399

  
400
  public long getSignature()
401
    {
402
    return ObjectType.FISH_3.ordinal();
396 403
    }
397 404

  
398 405
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff