Example #1
0
 public void resetGame()
 {
     if (monsterExist("Goblin"))
     {
         ms = monster.GetComponent <MonsterStats>();
         ms.destroyMonster();
     }
     if (monsterExist("Terrex"))
     {
         ms = monster.GetComponent <MonsterStats>();
         ms.destroyMonster();
     }
     skillManagerPlayer.defaultValues();
     skillManagerCpu.defaultValues();
     turn.defaultValues();
     player.defaultValues();
     cpu.defaultValues();
     setFirstMove();
 }