コード例 #1
0
        static void Main(string[] args)
        {
            Console.SetWindowSize(Console.LargestWindowWidth * 2 / 3, Console.LargestWindowHeight * 2 / 3);

            SPlay play = new SPlay(
                new SPlayers(new SPlayer(), new SPlayer()),
                new SCards(SCard.testArcher, SCard.testArcher, SCard.testSapper, SCard.testArcher, SCard.testArcher, SCard.testSapper),
                new SCards(SCard.testSkirmisher, SCard.testSkirmisher, SCard.testSkirmisher, SCard.testSkirmisher));

            play.start();
            Console.ReadKey();
        }
コード例 #2
0
ファイル: SCards.cs プロジェクト: P1nkL1on/Gwent3
 public void setGame(SPlay game)
 {
     foreachCard((c) => { c.game = game; });
 }