예제 #1
0
    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();
    }
예제 #2
0
    private void restart()
    {
        Sokoban sokoban = driver.getActiveSokoban();
        Board   board   = sokoban.getBoard();

        board.removeFromBoard();
        board.restoreStartSituation();
    }
예제 #3
0
 public Board getActiveBoard()
 {
     return(activeSokoban.getBoard());
 }