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/ShapeDodecahedron.java
61 61

  
62 62
///////////////////////////////////////////////////////////////////////////////////////////////////
63 63

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

  
69
///////////////////////////////////////////////////////////////////////////////////////////////////
70

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

  
76 69
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff