Revision 418aa554
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/objects/RubikObjectList.java | ||
---|---|---|
54 | 54 |
RubikPyraminx.class, |
55 | 55 |
new RubikPyraminxMovement() |
56 | 56 |
), |
57 |
|
|
58 |
DINO ( |
|
59 |
new int[][] { |
|
60 |
{3 , 10, R.raw.pyra3, R.drawable.ui_small_pyra3, R.drawable.ui_medium_pyra3, R.drawable.ui_big_pyra3, R.drawable.ui_huge_pyra3} , |
|
61 |
}, |
|
62 |
RubikDino.class, |
|
63 |
new RubikDinoMovement() |
|
64 |
), |
|
57 | 65 |
; |
58 | 66 |
|
59 | 67 |
public static final int NUM_OBJECTS = values().length; |
... | ... | |
354 | 362 |
{ |
355 | 363 |
case 0: return new RubikCube (size, quat, texture, mesh, effects, moves, res, scrWidth); |
356 | 364 |
case 1: return new RubikPyraminx(size, quat, texture, mesh, effects, moves, res, scrWidth); |
365 |
case 2: return new RubikDino (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
357 | 366 |
} |
358 | 367 |
|
359 | 368 |
return null; |
Also available in: Unified diff
Beginnings of support for a new Object: the Dino.