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/TwistyMorphix.java
23 23
import org.distorted.library.type.Static4D;
24 24
import org.distorted.objectlib.helpers.ObjectFaceShape;
25 25
import org.distorted.objectlib.helpers.ObjectShape;
26
import org.distorted.objectlib.helpers.ObjectSignature;
26 27
import org.distorted.objectlib.scrambling.ScrambleState;
27 28
import org.distorted.objectlib.main.ObjectType;
28 29
import org.distorted.objectlib.main.ShapeTetrahedron;
......
301 302

  
302 303
///////////////////////////////////////////////////////////////////////////////////////////////////
303 304

  
304
  public long getSignature()
305
  public ObjectSignature getSignature()
305 306
    {
306
    return ObjectType.MORP_2.ordinal();
307
    return new ObjectSignature(ObjectType.MORP_2);
307 308
    }
308 309

  
309 310
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff