Revision 318c0a7d
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/tutorials/TutorialState.java | ||
---|---|---|
23 | 23 |
import android.widget.ImageButton; |
24 | 24 |
import android.widget.LinearLayout; |
25 | 25 |
|
26 |
import org.distorted.objectlib.main.ObjectList;
|
|
26 |
import org.distorted.objectlib.main.ObjectType;
|
|
27 | 27 |
|
28 | 28 |
import org.distorted.helpers.MovesAndLockController; |
29 | 29 |
import org.distorted.helpers.TwistyActivity; |
... | ... | |
72 | 72 |
public void onClick(View v) |
73 | 73 |
{ |
74 | 74 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass(); |
75 |
int numScrambles = ObjectList.getNumScramble(play.getObject());
|
|
75 |
int numScrambles = ObjectType.getNumScramble(play.getObject());
|
|
76 | 76 |
act.getPreRender().scrambleObject(numScrambles); |
77 | 77 |
} |
78 | 78 |
}); |
Also available in: Unified diff
Reename ObjectList to a more logical ObjectType.