Package net.sf.nebulacards.main

Examples of net.sf.nebulacards.main.Player


  public GameRunner(Rules r, ComManager _cm) {
    m_game = r;
    cm = _cm;
    for (int i = 0; i < 4; i++) {
      m_game.getPlayers()[i] = new Player("");
      m_game.getPlayers()[i].setScoreAndBags(0, 0);
      m_game.getHands()[i] = new PileOfCards();
      cardsWon[i] = new PileOfCards();
      incomingBids[i] = null;
      incomingPasses[i] = null;
View Full Code Here


    Player[] bt = new Player[4];
    for (int i = 0; i < 4; i++) {
      if (m_game.getPlayers()[i] != null)
        bt[i] = m_game.getPlayers()[i];
      else
        bt[i] = new Player("");
    }
    broadcaster.setPlayers(bt);
    broadcaster.setGameName(m_game.getName());
  }
View Full Code Here

TOP

Related Classes of net.sf.nebulacards.main.Player

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.