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/Twisty4.java
47 47

  
48 48
///////////////////////////////////////////////////////////////////////////////////////////////////
49 49

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

  
55 55
///////////////////////////////////////////////////////////////////////////////////////////////////
......
59 59
    return 4;
60 60
    }
61 61

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

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

  
62 69
///////////////////////////////////////////////////////////////////////////////////////////////////
63 70

  
64 71
  protected int getFOV()

Also available in: Unified diff