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/TwistyDino4.java
98 98

  
99 99
///////////////////////////////////////////////////////////////////////////////////////////////////
100 100

  
101
  public ObjectType intGetObjectType(int[] numLayers)
101
  public String getShortName()
102 102
    {
103
    return ObjectType.DIN4_3;
103
    return ObjectType.DIN4_3.name();
104
    }
105

  
106
///////////////////////////////////////////////////////////////////////////////////////////////////
107

  
108
  public long getSignature()
109
    {
110
    return ObjectType.DIN4_3.ordinal();
104 111
    }
105 112

  
106 113
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff