Beispiel #1
0
        public TestingGuiClass(Grid g)
        {
            parent = g;
           // player = (PlayerGameBoard)parent.Children[1];

            cardlistCreator cardMaker = new cardlistCreator();
            cards = cardMaker.getCardList();
        }
Beispiel #2
0
        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);//

        }
Beispiel #3
0
        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);//
        }