Revision 0310ac32
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/main/Twisty6.java | ||
---|---|---|
47 | 47 |
|
48 | 48 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
49 | 49 |
|
50 |
int getColor(int face) |
|
50 |
protected int getColor(int face)
|
|
51 | 51 |
{ |
52 | 52 |
return FACE_COLORS[face]; |
53 | 53 |
} |
54 | 54 |
|
55 | 55 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
56 | 56 |
|
57 |
int getNumFaceColors() |
|
57 |
protected int getNumFaceColors()
|
|
58 | 58 |
{ |
59 | 59 |
return 6; |
60 | 60 |
} |
61 | 61 |
|
62 | 62 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
63 | 63 |
|
64 |
int getFOV() |
|
64 |
protected int getFOV()
|
|
65 | 65 |
{ |
66 | 66 |
return 60; |
67 | 67 |
} |
68 | 68 |
|
69 | 69 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
70 | 70 |
|
71 |
float getScreenRatio() |
|
71 |
protected float getScreenRatio()
|
|
72 | 72 |
{ |
73 | 73 |
return 0.5f; |
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
77 | 77 |
|
78 |
float returnMultiplier() |
|
78 |
protected float returnMultiplier()
|
|
79 | 79 |
{ |
80 | 80 |
return getNumLayers(); |
81 | 81 |
} |
Also available in: Unified diff
Bugfixes