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

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

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

  
69 69
///////////////////////////////////////////////////////////////////////////////////////////////////
......
73 73
    return 12;
74 74
    }
75 75

  
76
///////////////////////////////////////////////////////////////////////////////////////////////////
77

  
78
  protected int getColor(int face)
79
    {
80
    return FACE_COLORS[face];
81
    }
82

  
76 83
///////////////////////////////////////////////////////////////////////////////////////////////////
77 84

  
78 85
  protected int getFOV()

Also available in: Unified diff