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/TwistyDino6.java
74 74

  
75 75
///////////////////////////////////////////////////////////////////////////////////////////////////
76 76

  
77
  public ObjectType intGetObjectType(int[] numLayers)
77
  public String getShortName()
78 78
    {
79
    return ObjectType.DINO_3;
79
    return ObjectType.DINO_3.name();
80
    }
81

  
82
///////////////////////////////////////////////////////////////////////////////////////////////////
83

  
84
  public long getSignature()
85
    {
86
    return ObjectType.DINO_3.ordinal();
80 87
    }
81 88

  
82 89
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff