void Start() { logger = new QuestGame.Logger(); logger.info("GameManager.cs :: Initializing Game..."); gameUsers = new Users(textBoxInput, 0); totalUsers = gameUsers.getNumberOfUsers(); logger.info("GameManager.cs :: Calling AdventureDeck..."); advDeck.populateDeck(); logger.info("GameManager.cs :: Calling StoryDeck..."); storyDeck.populateDeck(); passed = new bool[4] { false, false, false, false }; //// storyDeck.populateEventsDeck (); // PickUpAdventureCards (0, 12); // PickUpAdventureCards (1, 15); // PickUpAdventureCards (2, 12); // PickUpAdventureCards (3, 12); for (int i = 0; i < textBoxInput; i++) { PickUpAdventureCards(i, 12); } logger.info("GameManager.cs :: Game has been created with " + totalUsers + " players."); togglePlayerCanvas(playerTurn); }
void Start() { gameUsers = new Users(textBoxInput, 0); totalUsers = gameUsers.getNumberOfUsers(); advDeck.populateDeck(); //storyDeck.populateDeck (); passed = new bool[4] { false, false, false, false }; logger = new QuestGame.Logger(); logger.info("GameManager.cs :: Game has been created with " + totalUsers + " players."); logger.info("GameManager.cs :: Adventure advDeck has been created. with sizes of " + advDeck.getSizeOfDeck()); logger.info("GameManager.cs :: Story storyDeck has been created. with sizes of " + storyDeck.getSizeOfDeck()); logger.info("GameManager.cs :: Game has been created with " + totalUsers + " players."); logger.info("GameManager.cs :: Adventure advDeck has been created. with sizes of " + advDeck.getSizeOfDeck()); logger.info("GameManager.cs :: Story storyDeck has been created. with sizes of " + storyDeck.getSizeOfDeck()); PickUpAdventureCard(0, "Saxons"); PickUpAdventureCard(0, "Boar"); PickUpAdventureCard(0, "Dagger"); PickUpAdventureCard(0, "Sword"); PickUpAdventureCard(1, "Sword"); PickUpAdventureCard(2, "Horse"); PickUpAdventureCard(2, "Excalibur"); PickUpAdventureCard(2, "Amour"); PickUpAdventureCard(3, "Battle-ax"); PickUpAdventureCard(3, "Lance"); PickUpAdventureCard(3, "Thieves"); PickUpAdventureCards(0, 8); PickUpAdventureCards(1, 11); PickUpAdventureCards(2, 9); PickUpAdventureCards(3, 9); togglePlayerCanvas(playerTurn); }