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/ShapeHexahedron.java
48 48

  
49 49
///////////////////////////////////////////////////////////////////////////////////////////////////
50 50

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

  
56
///////////////////////////////////////////////////////////////////////////////////////////////////
57

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

  
63 56
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff