Revision 4c0cd600
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikObjectList.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
public enum RubikObjectList |
31 | 31 |
{ |
32 |
CUBE ( new int[][] { {2,R.drawable.cube2} , {3,R.drawable.cube3} , {4,R.drawable.cube4} }, |
|
33 |
new RubikCubeMovement() ), |
|
34 |
PYRAMINX ( new int[][] { {3,R.drawable.pyra3} , {4,R.drawable.pyra4} }, |
|
35 |
new RubikPyraminxMovement() ), |
|
32 |
CUBE ( |
|
33 |
new int[][] { |
|
34 |
{2 , R.drawable.cube2} , |
|
35 |
{3 , R.drawable.cube3} , |
|
36 |
{4 , R.drawable.cube4} , |
|
37 |
{5 , R.drawable.cube5} |
|
38 |
}, |
|
39 |
new RubikCubeMovement() |
|
40 |
), |
|
41 |
|
|
42 |
PYRA ( |
|
43 |
new int[][] { |
|
44 |
{3 , R.drawable.pyra3} , |
|
45 |
{4 , R.drawable.pyra4} , |
|
46 |
{5 , R.drawable.pyra5} |
|
47 |
}, |
|
48 |
new RubikPyraminxMovement() |
|
49 |
), |
|
36 | 50 |
; |
37 | 51 |
|
38 | 52 |
public static final int NUM_OBJECTS = values().length; |
Also available in: Unified diff
Change the series of Object buttons in the Play state into a PopupWindow.