Example #1
0
 void ResolveEnemyFaintState()
 {
     battleDialogue.AddToMessages("The foe " + battleControl.enemyMon.monName + " fainted!");
     soundManager.PlayFaintCry(battleControl.enemyMon.monName);
     uIEventHandler.continueMessages.Invoke();
     if (!battleControl.DistributeXP())
     {
         AdvanceState(TurnState.PlayerWin);
     }
 }