Revision 538ee7a6
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/objects/ObjectList.java | ||
---|---|---|
170 | 170 |
5, |
171 | 171 |
60 |
172 | 172 |
), |
173 |
|
|
174 |
BAN2 ( |
|
175 |
new int[][] { |
|
176 |
{3 , 16, R.raw.mega3, R.drawable.ui_small_mega3, R.drawable.ui_medium_mega3, R.drawable.ui_big_mega3, R.drawable.ui_huge_mega3} , |
|
177 |
}, |
|
178 |
TwistyBandaged2Bar.class, |
|
179 |
new MovementCube(), |
|
180 |
5, |
|
181 |
60 |
|
182 |
), |
|
183 |
|
|
184 |
BAN3 ( |
|
185 |
new int[][] { |
|
186 |
{3 , 16, R.raw.mega3, R.drawable.ui_small_mega3, R.drawable.ui_medium_mega3, R.drawable.ui_big_mega3, R.drawable.ui_huge_mega3} , |
|
187 |
}, |
|
188 |
TwistyBandaged3Plate.class, |
|
189 |
new MovementCube(), |
|
190 |
5, |
|
191 |
60 |
|
192 |
), |
|
193 |
|
|
194 |
BAN4 ( |
|
195 |
new int[][] { |
|
196 |
{3 , 16, R.raw.mega3, R.drawable.ui_small_mega3, R.drawable.ui_medium_mega3, R.drawable.ui_big_mega3, R.drawable.ui_huge_mega3} , |
|
197 |
}, |
|
198 |
TwistyBandagedEvil.class, |
|
199 |
new MovementCube(), |
|
200 |
5, |
|
201 |
60 |
|
202 |
), |
|
173 | 203 |
; |
174 | 204 |
|
175 | 205 |
public static final int NUM_OBJECTS = values().length; |
... | ... | |
551 | 581 |
|
552 | 582 |
switch(ordinal()) |
553 | 583 |
{ |
554 |
case 0: return new TwistyCube (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
555 |
case 1: return new TwistyPyraminx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
556 |
case 2: return new TwistyDiamond (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
557 |
case 3: return new TwistyDino6 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
558 |
case 4: return new TwistyDino4 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
559 |
case 5: return new TwistyRedi (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
560 |
case 6: return new TwistyHelicopter (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
561 |
case 7: return new TwistySkewb (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
562 |
case 8: return new TwistyIvy (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
563 |
case 9: return new TwistyRex (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
564 |
case 10: return new TwistyKilominx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
565 |
case 11: return new TwistyMegaminx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
566 |
case 12: return new TwistyBandagedFused(size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
584 |
case 0: return new TwistyCube (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
585 |
case 1: return new TwistyPyraminx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
586 |
case 2: return new TwistyDiamond (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
587 |
case 3: return new TwistyDino6 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
588 |
case 4: return new TwistyDino4 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
589 |
case 5: return new TwistyRedi (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
590 |
case 6: return new TwistyHelicopter (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
591 |
case 7: return new TwistySkewb (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
592 |
case 8: return new TwistyIvy (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
593 |
case 9: return new TwistyRex (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
594 |
case 10: return new TwistyKilominx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
595 |
case 11: return new TwistyMegaminx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
596 |
case 12: return new TwistyBandagedFused (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
597 |
case 13: return new TwistyBandaged2Bar(size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
598 |
case 14: return new TwistyBandaged3Plate(size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
599 |
case 15: return new TwistyBandagedEvil (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
567 | 600 |
} |
568 | 601 |
|
569 | 602 |
return null; |
Also available in: Unified diff
Progress with bandaged cubes.