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/Twisty8.java
49 49

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

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

  
57 57
///////////////////////////////////////////////////////////////////////////////////////////////////
......
61 61
    return 8;
62 62
    }
63 63

  
64
///////////////////////////////////////////////////////////////////////////////////////////////////
65

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

  
64 71
///////////////////////////////////////////////////////////////////////////////////////////////////
65 72

  
66 73
  protected int getFOV()

Also available in: Unified diff