Example #1
0
 public void nextStage()
 {
     model.nextStage();
     if (model.currStageId >= model.numStages)
     {
         endSuccess();
         return;
     }
     if (model.numPlayers == 0)
     {
         endFail();
         return;
     }
     model.giveAdventureCards();
     if (model.currStageType == QuestModel.stageType.COMBAT)
     {
         Debug.Log("[QuestController.cs:nextStage] Initializing stage " + (model.currStageId + 1) + " with combat");
         initializeCombat();
     }
     else
     {
         Debug.Log("[QuestController.cs:nextStage] Initializing stage " + (model.currStageId + 1) + " with bidding");
         initializeTest();
     }
     nextPlayer();
 }