public TestingGuiClass(Grid g) { parent = g; // player = (PlayerGameBoard)parent.Children[1]; cardlistCreator cardMaker = new cardlistCreator(); cards = cardMaker.getCardList(); }
public StartGame(List<Player> pending) { numPlayers = pending.Count; cardlistCreator lstC = new cardlistCreator(); allCards = lstC.getCardList(); cards = filterCards(allCards); boards = new CreateBoards().getBoards(); makePlayers(pending); game = new GameState(cards, players, boards); ResourceManager.GetInstance(game);// }
public StartGame(List <Player> pending) { numPlayers = pending.Count; cardlistCreator lstC = new cardlistCreator(); allCards = lstC.getCardList(); cards = filterCards(allCards); boards = new CreateBoards().getBoards(); makePlayers(pending); game = new GameState(cards, players, boards); ResourceManager.GetInstance(game);// }