Project

General

Profile

« Previous | Next » 

Revision 2289cab1

Added by Leszek Koltunski over 2 years ago

New 'IconMode' and some APIs to support it.

View differences:

src/main/java/org/distorted/objectlib/main/Twisty6.java
48 48

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

  
51
  protected int getColor(int face)
51
  public final int getNumFaces()
52 52
    {
53
    return FACE_COLORS[face];
53
    return 6;
54 54
    }
55 55

  
56 56
///////////////////////////////////////////////////////////////////////////////////////////////////
......
60 60
    return 6;
61 61
    }
62 62

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

  
65
  protected int getColor(int face)
66
    {
67
    return FACE_COLORS[face];
68
    }
69

  
63 70
///////////////////////////////////////////////////////////////////////////////////////////////////
64 71

  
65 72
  protected int getFOV()

Also available in: Unified diff