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/TwistyBandaged3Plate.java
107 107
///////////////////////////////////////////////////////////////////////////////////////////////////
108 108
// PUBLIC API
109 109

  
110
  public ObjectType intGetObjectType(int[] numLayers)
110
  public String getShortName()
111 111
    {
112
    return ObjectType.BAN3_3;
112
    return ObjectType.BAN3_3.name();
113
    }
114

  
115
///////////////////////////////////////////////////////////////////////////////////////////////////
116

  
117
  public long getSignature()
118
    {
119
    return ObjectType.BAN3_3.ordinal();
113 120
    }
114 121

  
115 122
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff