Revision 33f6abfd
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/main/RubikActivity.java | ||
---|---|---|
443 | 443 |
control.changeObject(newObject); |
444 | 444 |
} |
445 | 445 |
|
446 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
447 |
|
|
448 |
public void setupObject(ObjectType object, int[][] moves) |
|
449 |
{ |
|
450 |
RubikSurfaceView view = findViewById(R.id.rubikSurfaceView); |
|
451 |
ObjectControl control = view.getObjectControl(); |
|
452 |
control.setupObject(object,moves); |
|
453 |
} |
|
454 |
|
|
455 | 446 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
456 | 447 |
|
457 | 448 |
public static int getDrawableSize() |
Also available in: Unified diff
Remove the 'setupObject()' redundant API.