Revision 7b2a8ef3
Added by Leszek Koltunski about 4 years ago
| src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
|---|---|---|
| 257 | 257 |
|
| 258 | 258 |
for(int object = 0; object< ObjectType.NUM_OBJECTS; object++) |
| 259 | 259 |
{
|
| 260 |
final ObjectType list = ObjectType.getObject(object);
|
|
| 260 |
final ObjectType type = ObjectType.getObject(object);
|
|
| 261 | 261 |
int iconSize = RubikActivity.getDrawableSize(); |
| 262 |
int icons = list.getIconID(iconSize); |
|
| 263 |
final int obj = object; |
|
| 262 |
int icons = type.getIconID(iconSize); |
|
| 264 | 263 |
int row = object/NUM_COLUMNS; |
| 265 | 264 |
|
| 266 | 265 |
ImageButton button = new ImageButton(act); |
| ... | ... | |
| 272 | 271 |
{
|
| 273 | 272 |
if( act.getControl().isUINotBlocked() && ScreenList.getCurrentScreen()== ScreenList.PLAY ) |
| 274 | 273 |
{
|
| 275 |
mObject = ObjectType.getObject(obj);
|
|
| 276 |
act.changeObject(list, true);
|
|
| 274 |
mObject = type;
|
|
| 275 |
act.changeObject(type, true);
|
|
| 277 | 276 |
adjustLevels(act); |
| 278 | 277 |
mMovesController.clearMoves(act); |
| 279 | 278 |
} |
Also available in: Unified diff
Progress with cuboids.