Revision d433b50e
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/dialogs/RubikDialogPatternView.java | ||
---|---|---|
27 | 27 |
import android.widget.FrameLayout; |
28 | 28 |
|
29 | 29 |
import org.distorted.objectlib.main.ObjectControl; |
30 |
import org.distorted.objectlib.main.ObjectType; |
|
31 | 30 |
|
32 | 31 |
import org.distorted.main.R; |
33 | 32 |
import org.distorted.main.RubikActivity; |
... | ... | |
96 | 95 |
{ |
97 | 96 |
RubikPattern pattern = RubikPattern.getInstance(); |
98 | 97 |
int[][] moves = pattern.reInitialize(mTab, groupPosition, childPosition); |
99 |
ObjectType object = RubikPatternList.getObject(mTab);
|
|
98 |
int object = RubikPatternList.getObject(mTab);
|
|
100 | 99 |
ract.changeIfDifferent(object,control); |
101 | 100 |
control.initializeObject(moves); |
102 | 101 |
|
Also available in: Unified diff
In the 'magic' app, ObjectType is now only used in RubikObject and RubikObjectList classes and nowhere else.
This is a major step towards being able to download objects from an online repository.