private void land() { Sokoban sokoban = driver.getActiveSokoban(); driver.setInSpace(false); driver.setMainCamToStartTranslate(); sokoban.getBoard().removeFromBoard(); sokoban.getBoard().restoreStartSituation(); sokoban.getPlayer().goToStartTransform(); setPlayersSpeedZero(); buttonManager.showSokobanButtons("land"); hideObject(); }
private void restart() { Sokoban sokoban = driver.getActiveSokoban(); Board board = sokoban.getBoard(); board.removeFromBoard(); board.restoreStartSituation(); }
public Board getActiveBoard() { return(activeSokoban.getBoard()); }