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/ShapeDiamond.java
62 62

  
63 63
///////////////////////////////////////////////////////////////////////////////////////////////////
64 64

  
65
  public int getNumFaceColors()
65
  public int[] getColorTable()
66 66
    {
67
    return FACE_COLORS.length;
68
    }
69

  
70
///////////////////////////////////////////////////////////////////////////////////////////////////
71

  
72
  public int getColor(int face)
73
    {
74
    return FACE_COLORS[face];
67
    return FACE_COLORS;
75 68
    }
76 69

  
77 70
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff