Examples of CardFinder


Examples of com.svanloon.game.wizard.core.card.CardFinder

   * @param pc
   */
  public WizardCardGraph(PointCalculator pc) {
    super();
    this.pc = pc;
    CardFinder cardFinder = new WizardCardFinder();
    for(int i = 0; i < cardFinder.getCardsInDeck(); i++) {
      addCard(cardFinder.findCard(i))
    }
  }
View Full Code Here

Examples of com.svanloon.game.wizard.core.card.CardFinder

  /**
   */
  public void dealtCards() {
    Hand hand = new Hand();
    CardFinder cardFinder = new WizardCardFinder();
    for(int i = 0; i < round; i++) {
      hand.add(cardFinder.findCard(i));
    }
    addHand(hand);
    this.repaint();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.