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/TwistyFisher.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;
......
412 413

  
413 414
///////////////////////////////////////////////////////////////////////////////////////////////////
414 415

  
415
  public long getSignature()
416
  public ObjectSignature getSignature()
416 417
    {
417
    return ObjectType.FISH_3.ordinal();
418
    return new ObjectSignature(ObjectType.FISH_3);
418 419
    }
419 420

  
420 421
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff