Package hexenschach.gameplay

Examples of hexenschach.gameplay.Gameplay


  /**
   * Enthält die Aktion, die beim Klick auf den
   * Laden-Button ausgeführt werden soll.
   */
  protected void loadButtonClicked() {
    Gameplay loadedGame = parent.getPersistence().loadGame(list.getSelectedValue().toString(), parent);
    parent.setGameplay(loadedGame);
    setVisible(false);
  }
View Full Code Here


    // 3 menschliche Spieler erstellen
    Player player1 = new Human(true, "white");
    Player player2 = new Human(true, "brown");
    Player player3 = new Human(true, "black");
    // Gameplay erzeugen
    Gameplay gameplay = new Gameplay(player1, player2, player3, gui);
    gui.setGameplay(gameplay);
  }
View Full Code Here

    else if(playerChoice3.getSelectedItem().equals(Dictionary.NewGameDialogChoice4))
      player3 = new Computer(true, "black", 3);
    else
      player3 = new Human(false, "black");
    // Gameplay erzeugen
    Gameplay gameplay = new Gameplay(player1, player2, player3, parent);
    parent.setGameplay(gameplay);
  }
View Full Code Here

TOP

Related Classes of hexenschach.gameplay.Gameplay

Copyright © 2018 www.massapicom. 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.