Package com.svanloon.game.wizard.core.card

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


   * @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


  /**
   */
  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

   * @param go
   */
  public WizardEngine(GameOptions go) {
    super();
    this.go = go;
    cardFinder = new WizardCardFinder();
    //cardFinder = new PokerCardFinder();
  }
View Full Code Here

TOP

Related Classes of com.svanloon.game.wizard.core.card.WizardCardFinder

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.