public void newGame(TableHandler.CardDelegate dDelegate) { this.dDelegate = dDelegate; player = new Player(dDelegate); dealer = new Dealer(dDelegate); player.addCard(deck.drawCard()); dealer.addCard(deck.drawCard()); player.addCard(deck.drawCard()); }
public Player(TableHandler.CardDelegate dDelegate) { this.dDelegate = dDelegate; cards = new List <Card>(); }