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(); }
public void setGame(SPlay game) { foreachCard((c) => { c.game = game; }); }