Exemplo n.º 1
0
 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");
 }
Exemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     game = this.FindResource("game") as Game;
 }