Revision 7dab2aea
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/main/ObjectType.java | ||
---|---|---|
72 | 72 |
CU_122 ( new int[] {1,2,2} , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3), |
73 | 73 |
CU_321 ( new int[] {3,2,1} , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3), |
74 | 74 |
CU_111 ( new int[] {1,1,1} , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3), |
75 |
CU_141 ( new int[] {1,4,1} , 20, R.drawable.s_cube_3, R.drawable.m_cube_3, R.drawable.b_cube_3, R.drawable.h_cube_3), |
|
76 |
|
|
75 | 77 |
; |
76 | 78 |
|
77 | 79 |
public static final int NUM_OBJECTS = values().length; |
... | ... | |
172 | 174 |
|
173 | 175 |
switch(ord) |
174 | 176 |
{ |
177 |
case 32: |
|
178 |
case 33: |
|
179 |
case 34: |
|
180 |
case 35: |
|
181 |
case 36: |
|
182 |
case 37: |
|
183 |
|
|
175 | 184 |
case 0: |
176 | 185 |
case 1: |
177 | 186 |
case 2: |
... | ... | |
204 | 213 |
case 29: return new TwistySquare2 (numL, quat, move, texture, mesh, effects, res, scrWidth); |
205 | 214 |
case 30: |
206 | 215 |
case 31: return new TwistyMirror (numL, quat, move, texture, mesh, effects, res, scrWidth); |
207 |
|
|
208 |
case 32: |
|
209 |
case 33: |
|
210 |
case 34: |
|
211 |
case 35: |
|
212 |
case 36: return new TwistyCube (numL, quat, move, texture, mesh, effects, res, scrWidth); |
|
213 | 216 |
} |
214 | 217 |
|
215 | 218 |
return null; |
Also available in: Unified diff
Progress with cuboids.