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/TwistyDino6.java
24 24
import org.distorted.library.type.Static3D;
25 25
import org.distorted.library.type.Static4D;
26 26

  
27
import org.distorted.objectlib.helpers.ObjectSignature;
27 28
import org.distorted.objectlib.main.ObjectType;
28 29
import org.distorted.objectlib.scrambling.ScrambleState;
29 30

  
......
81 82

  
82 83
///////////////////////////////////////////////////////////////////////////////////////////////////
83 84

  
84
  public long getSignature()
85
  public ObjectSignature getSignature()
85 86
    {
86
    return ObjectType.DINO_3.ordinal();
87
    return new ObjectSignature(ObjectType.DINO_3);
87 88
    }
88 89

  
89 90
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff