public void SetBattleController(int round)
 {
     CurrMonsters.setRound(round);
     CurrMonsters.setMonsters();
     TurnOrder = GetTurnOrder();
     InitializeGameBoard();
 }
Esempio n. 2
0
 public void SetBattleController(int round)
 {
     CurrMonsters.setRound(round);//Monsters will reset for every round
     CurrMonsters.setMonsters();
     originalMonsters.RemoveRange(0, originalMonsters.Count);
     foreach (Creature monster in CurrMonsters.Dataset)
     {
         Creature tempMonster = new Creature();
         tempMonster.Update(monster);
         tempMonster.Id = monster.Id;
         originalMonsters.Add(tempMonster);//save the monster set before the battle for the score
     }
     TurnOrder = GetTurnOrder();
     InitializeGameBoard();//GameBoard will be initialized
 }