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/TwistyBandagedFused.java
104 104
///////////////////////////////////////////////////////////////////////////////////////////////////
105 105
// PUBLIC APi
106 106

  
107
  public ObjectType intGetObjectType(int[] numLayers)
107
  public String getShortName()
108 108
    {
109
    return ObjectType.BAN1_3;
109
    return ObjectType.BAN1_3.name();
110
    }
111

  
112
///////////////////////////////////////////////////////////////////////////////////////////////////
113

  
114
  public long getSignature()
115
    {
116
    return ObjectType.BAN1_3.ordinal();
110 117
    }
111 118

  
112 119
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff