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/TwistyVoid.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.ShapeHexahedron;
......
414 415

  
415 416
///////////////////////////////////////////////////////////////////////////////////////////////////
416 417

  
417
  public long getSignature()
418
  public ObjectSignature getSignature()
418 419
    {
419
    return ObjectType.VOID_3.ordinal();
420
    return new ObjectSignature(ObjectType.VOID_3);
420 421
    }
421 422

  
422 423
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff