Package cero.games.uno

Examples of cero.games.uno.UnoPlayer


    UnoGame game = (UnoGame) pmanager.getNewGame("Cero official uno");
    for (Rule r : pmanager.getGameRules(game.getGameName()))
      game.getRules().add(r);

    // 1 joueur humain suffira
    UnoPlayer p = (UnoPlayer) pmanager.getNewPlayer(game.getGameName());
    game.getPlayers().add(p);

    // 3 AI de chaque
    for (int i = 0; i < 3; i++)
      game.getPlayers().add(pmanager.getNewAI(game.getGameName(), "Standard AI"));
View Full Code Here


  /**
   * Retrieves all the needed information and print them into the box.
   */
  private void printInfos() {
    UnoGame game = ((Frame) parent).getGame();
    UnoPlayer player = ((Frame) parent).getPlayer();
    List<cero.games.Player> listPlayers = game.getPlayers().getSortedList();
    title = new JLabel("", JLabel.CENTER);

    for (cero.games.Player players : listPlayers) {
      if (players.equals(player)) {
View Full Code Here

TOP

Related Classes of cero.games.uno.UnoPlayer

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.