Project

General

Profile

« Previous | Next » 

Revision 962b8ff6

Added by Leszek Koltunski 2 months ago

progress with configurable stickers

View differences:

src/main/java/org/distorted/objectlib/shape/ShapeOctahedron.java
49 49

  
50 50
///////////////////////////////////////////////////////////////////////////////////////////////////
51 51

  
52
  public int getNumFaceColors()
52
  public int[] getColorTable()
53 53
    {
54
    return FACE_COLORS.length;
55
    }
56

  
57
///////////////////////////////////////////////////////////////////////////////////////////////////
58

  
59
  public int getColor(int face)
60
    {
61
    return FACE_COLORS[face];
54
    return FACE_COLORS;
62 55
    }
63 56

  
64 57
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff