29303132333435363738
* @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)); } }
454647484950515253545556
/** */ 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(); }
5758596061626364
* @param go */ public WizardEngine(GameOptions go) { super(); this.go = go; cardFinder = new WizardCardFinder(); //cardFinder = new PokerCardFinder(); }