Revision bbc6da6c
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/objects/ObjectList.java | ||
---|---|---|
112 | 112 |
3 |
113 | 113 |
), |
114 | 114 |
|
115 |
IVY (
|
|
115 |
IVY (
|
|
116 | 116 |
new int[][] { |
117 | 117 |
{2 , 8, R.raw.ivy, R.drawable.ui_small_ivy, R.drawable.ui_medium_ivy, R.drawable.ui_big_ivy, R.drawable.ui_huge_ivy} , |
118 | 118 |
}, |
... | ... | |
121 | 121 |
3 |
122 | 122 |
), |
123 | 123 |
|
124 |
REX (
|
|
124 |
REX (
|
|
125 | 125 |
new int[][] { |
126 | 126 |
{3 , 16, R.raw.rex, R.drawable.ui_small_rex, R.drawable.ui_medium_rex, R.drawable.ui_big_rex, R.drawable.ui_huge_rex} , |
127 | 127 |
}, |
... | ... | |
129 | 129 |
new MovementRex(), |
130 | 130 |
3 |
131 | 131 |
), |
132 |
|
|
133 |
MINX ( |
|
134 |
new int[][] { |
|
135 |
{3 , 18, R.raw.rex, R.drawable.ui_small_rex, R.drawable.ui_medium_rex, R.drawable.ui_big_rex, R.drawable.ui_huge_rex} , |
|
136 |
}, |
|
137 |
TwistyMinx.class, |
|
138 |
new MovementMinx(), |
|
139 |
4 |
|
140 |
), |
|
132 | 141 |
; |
133 | 142 |
|
134 | 143 |
public static final int NUM_OBJECTS = values().length; |
... | ... | |
501 | 510 |
|
502 | 511 |
switch(ordinal()) |
503 | 512 |
{ |
504 |
case 0: return new TwistyCube (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
505 |
case 1: return new TwistyPyraminx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
506 |
case 2: return new TwistyDiamond (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
507 |
case 3: return new TwistyDino6 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
508 |
case 4: return new TwistyDino4 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
509 |
case 5: return new TwistyRedi (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
510 |
case 6: return new TwistyHelicopter(size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
511 |
case 7: return new TwistySkewb (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
512 |
case 8: return new TwistyIvy (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
513 |
case 9: return new TwistyRex (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
513 |
case 0: return new TwistyCube (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
514 |
case 1: return new TwistyPyraminx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
515 |
case 2: return new TwistyDiamond (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
516 |
case 3: return new TwistyDino6 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
517 |
case 4: return new TwistyDino4 (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
518 |
case 5: return new TwistyRedi (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
519 |
case 6: return new TwistyHelicopter(size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
520 |
case 7: return new TwistySkewb (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
521 |
case 8: return new TwistyIvy (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
522 |
case 9: return new TwistyRex (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
523 |
case 10: return new TwistyMinx (size, quat, texture, mesh, effects, moves, res, scrWidth); |
|
514 | 524 |
} |
515 | 525 |
|
516 | 526 |
return null; |
Also available in: Unified diff
Megaminx family: part1 (doesn't work yet)