Project

General

Profile

« Previous | Next » 

Revision be576d14

Added by Leszek Koltunski over 3 years ago

Rename some classes.

View differences:

src/main/java/org/distorted/states/RubikStateSolver.java
87 87
    mCurrentObjectSize = ImplementedSolversList.getObjectSize(0);
88 88

  
89 89
    act.setupObject(mCurrentObject, mCurrentObjectSize, null);
90
    RubikStatePlay play = (RubikStatePlay)RubikState.PLAY.getStateClass();
90
    RubikStatePlay play = (RubikStatePlay) StateList.PLAY.getStateClass();
91 91
    play.setObjectAndSize(act, mCurrentObject, mCurrentObjectSize);
92 92

  
93 93
    mFaceColors = ObjectList.retFaceColors(mCurrentObject);
......
257 257
        {
258 258
        RubikPreRender pre = act.getPreRender();
259 259
        pre.resetAllTextureMaps();
260
        RubikState.goBack(act);
260
        StateList.goBack(act);
261 261
        }
262 262
      });
263 263
    }
......
316 316
        @Override
317 317
        public void run()
318 318
          {
319
          RubikState.switchState(act,RubikState.SOLU);
320
          RubikStateSolution solution = (RubikStateSolution) RubikState.SOLU.getStateClass();
319
          StateList.switchState(act, StateList.SOLU);
320
          RubikStateSolution solution = (RubikStateSolution) StateList.SOLU.getStateClass();
321 321
          solution.setupMoves(act, moves);
322 322
          }
323 323
        });

Also available in: Unified diff