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