Project

General

Profile

« Previous | Next » 

Revision baa031e2

Added by Leszek Koltunski 5 months ago

Move signatures and ObjectConstants to Metadata.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyMorphix.java
15 15
import org.distorted.objectlib.helpers.ObjectFaceShape;
16 16
import org.distorted.objectlib.helpers.ObjectShape;
17 17
import org.distorted.objectlib.metadata.Metadata;
18
import org.distorted.objectlib.signature.ObjectSignature;
19 18
import org.distorted.objectlib.helpers.ObjectVertexEffects;
20 19
import org.distorted.objectlib.main.InitAssets;
21
import org.distorted.objectlib.signature.ObjectConstants;
22 20
import org.distorted.objectlib.metadata.ListObjects;
23 21
import org.distorted.objectlib.scrambling.ScrambleEdgeGenerator;
24 22
import org.distorted.objectlib.shape.ShapeTetrahedron;
......
694 692
    return null;
695 693
    }
696 694

  
697
///////////////////////////////////////////////////////////////////////////////////////////////////
698

  
699
  public ObjectSignature getSignature()
700
    {
701
    switch(getNumLayers()[0])
702
      {
703
      case 2: return new ObjectSignature(ObjectConstants.MORP_2);
704
      case 3: return new ObjectSignature(ObjectConstants.MORP_3);
705
      case 4: return new ObjectSignature(ObjectConstants.MORP_4);
706
      }
707
    return null;
708
    }
709

  
710 695
///////////////////////////////////////////////////////////////////////////////////////////////////
711 696

  
712 697
  public String[][] getTutorials()

Also available in: Unified diff