Revision d433b50e
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/dialogs/RubikDialogTutorial.java | ||
---|---|---|
43 | 43 |
|
44 | 44 |
import org.distorted.main.R; |
45 | 45 |
import org.distorted.main.RubikActivity; |
46 |
import org.distorted.objectlib.main.ObjectType; |
|
47 | 46 |
import org.distorted.screens.RubikScreenPlay; |
48 | 47 |
import org.distorted.screens.ScreenList; |
49 | 48 |
import org.distorted.tutorials.TutorialList; |
... | ... | |
130 | 129 |
private int getTutorialOrdinal() |
131 | 130 |
{ |
132 | 131 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass(); |
133 |
ObjectType obj = play.getObject();
|
|
132 |
int obj = play.getObject();
|
|
134 | 133 |
|
135 | 134 |
int ret = TutorialList.getOrdinal(obj); |
136 | 135 |
|
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.