示例#1
0
文件: Player.cs 项目: ppaier/HFCSharp
 public Player(String name, Random random, Game game)
 {
     Name = name;
     this.random = random;
     this.game = game;
     cards = new Deck(new Card[] { });
     game.AddProgress(name + " has just joined the game");
 }
示例#2
0
 public MainWindow()
 {
     InitializeComponent();
     game = this.FindResource("game") as Game;
 }