Examples of LastLayerMove


Examples of com.mmi.pllTrainer.puzzle.common.LastLayerMove

  @Override
  public void itemStateChanged(ItemEvent e) {
    JCheckBox box = (JCheckBox) e.getItem();
    String selectionText = box.getText();
    LastLayerMove lastLayerMove = LastLayerMove.NO;
    for (LastLayerMove move : LastLayerMove.values()) {
      if (move.getSelectionText().equals(selectionText)) {
        lastLayerMove = move;
        break;
      }
View Full Code Here

Examples of com.mmi.pllTrainer.puzzle.common.LastLayerMove

    Algo tmpAlgo = algo.clone(); // Create a temporary list with algo moves to avoid changes in original algo
    switch (lastLayerMove) {
      case NO:
        return tmpAlgo;
      case RANDOM:
        LastLayerMove randomLastLayerMove = LastLayerMove.randomLastLayerMove();
        tmpAlgo = calculateTemporaryAlgoMoves(algo, randomLastLayerMove);
        return tmpAlgo;
      default:
        String appendMove = lastLayerMove.getAppendMove();
        tmpAlgo.add(appendMove);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.