Project

General

Profile

« Previous | Next » 

Revision 1d581993

Added by Leszek Koltunski about 2 years ago

Introduce ObjectSignature that can incorporate 192-bit signatures (for 5x5x5 bandaged cubes).
ObjectScrambler does not fully work yet.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyCrystal.java
25 25
import org.distorted.library.type.Static4D;
26 26
import org.distorted.objectlib.helpers.ObjectFaceShape;
27 27
import org.distorted.objectlib.helpers.ObjectShape;
28
import org.distorted.objectlib.helpers.ObjectSignature;
28 29
import org.distorted.objectlib.main.ObjectType;
29 30

  
30 31
///////////////////////////////////////////////////////////////////////////////////////////////////
......
245 246

  
246 247
///////////////////////////////////////////////////////////////////////////////////////////////////
247 248

  
248
  public long getSignature()
249
  public ObjectSignature getSignature()
249 250
    {
250
    return ObjectType.CRYS_3.ordinal();
251
    return new ObjectSignature(ObjectType.CRYS_3);
251 252
    }
252 253

  
253 254
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff