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