Revision be576d14
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/dialogs/RubikDialogSetName.java | ||
---|---|---|
42 | 42 |
import org.distorted.main.RubikActivity; |
43 | 43 |
import org.distorted.objects.ObjectList; |
44 | 44 |
import org.distorted.scores.RubikScores; |
45 |
import org.distorted.states.RubikState;
|
|
45 |
import org.distorted.states.StateList;
|
|
46 | 46 |
import org.distorted.states.RubikStatePlay; |
47 | 47 |
|
48 | 48 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
142 | 142 |
} |
143 | 143 |
|
144 | 144 |
RubikActivity act = (RubikActivity)getActivity(); |
145 |
RubikState.switchState(act,RubikState.PLAY);
|
|
145 |
StateList.switchState(act, StateList.PLAY);
|
|
146 | 146 |
RubikScores.getInstance().setName(name); |
147 |
RubikStatePlay play = (RubikStatePlay) RubikState.PLAY.getStateClass();
|
|
147 |
RubikStatePlay play = (RubikStatePlay) StateList.PLAY.getStateClass();
|
|
148 | 148 |
|
149 | 149 |
int object = play.getObject(); |
150 | 150 |
int size = play.getSize(); |
Also available in: Unified diff
Rename some classes.