Package com.svanloon.game.wizard.stats

Examples of com.svanloon.game.wizard.stats.Play


   *
   * @param playerId
   * @param card
   */
  public void addCardPlayed(int playerId, Card card) {
    Play play = new Play(playerId, card);
    this.playCollection.add(play);
    setHighPlay(play);
  }
View Full Code Here


        } else {
          player.playCardIsNotValid(card);
        }
      }
      trickTracker.addCardPlayed(player.getId(), card);
      trick.add(new Play(player.getId(), card));
      if (card != null && card.isWizard()) {
        trick.setWizardPlayed(true);
      }
    }
    int winnerId = trickTracker.winningPlay().getPlayerId();
View Full Code Here

TOP

Related Classes of com.svanloon.game.wizard.stats.Play

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.