private IEnumerator ExecuteActions()
        {
            _combatSystem.Typewriter.Stop();

            for (int i = 0; i < _combatSystem.Actions.Count; i++)
            {
                var action = _combatSystem.Actions[i];

                yield return(action.Execute());

                if (DetermineActionType(action))
                {
                    yield break;
                }
            }

            _combatSystem.ChangeState(CombatState.Wait);
        }
        private IEnumerator BeginCombat()
        {
            var monster = _combatSystem.Monster;

            yield return(_combatSystem.Typewriter.SetText($"", 0.125f));

            yield return(Tween.MaterialDissolve.To(monster.GetComponent <Image>().material, 0f, 1f, Easing.Linear));

            yield return(_combatSystem.Typewriter.SetText($"Encountered a {_combatSystem.Monster.Name}!", 1f));

            _combatSystem.ChangeState(CombatState.Wait);
        }