示例#1
0
 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());
 }
示例#2
0
文件: Player.cs 项目: oggez/BlackJack
 public Player(TableHandler.CardDelegate dDelegate)
 {
     this.dDelegate = dDelegate;
     cards          = new List <Card>();
 }