public override void Exit() { enemyReset.ResetActions(); playerReset.ResetActions(); UnityEngine.Debug.Log($"Exit {typeof(TurnResolutionState)}"); }
public override void Enter() { UnityEngine.Debug.Log($"Enter {typeof(EndResolveTurnState)}"); enemyActionsReset.ResetActions(); playerActionsReset.ResetActions(); if (enemyHealth.CurrentHealth <= 0) { controller.SwitchState <LevelSetupState>(); } else { controller.SwitchState <PlayerTurnState>(); } }