Revision 400ff34d
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/screens/RubikScreenSolving.java | ||
---|---|---|
34 | 34 |
import org.distorted.main.R; |
35 | 35 |
import org.distorted.main.RubikActivity; |
36 | 36 |
import org.distorted.network.RubikScores; |
37 |
import org.distorted.objects.RubikObjectList; |
|
37 | 38 |
|
38 | 39 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
39 | 40 |
|
... | ... | |
185 | 186 |
mElapsed = System.currentTimeMillis()-mStartTime; |
186 | 187 |
|
187 | 188 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass(); |
188 |
int object = play.getObject();
|
|
189 |
int object = RubikObjectList.getCurrObject();
|
|
189 | 190 |
int level = play.getLevel(); |
190 | 191 |
boolean isNew = mScores.setRecord(object, level, mElapsed); |
191 | 192 |
|
Also available in: Unified diff
Move the 'currObject' from RubikScreenPlay (WTF?) to RubikObjectList.