コード例 #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
ファイル: MainWindow.xaml.cs プロジェクト: ppaier/HFCSharp
 public MainWindow()
 {
     InitializeComponent();
     game = this.FindResource("game") as Game;
 }