Пример #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
 public void setGame(SPlay game)
 {
     foreachCard((c) => { c.game = game; });
 }