// Start is called before the first frame update
    void Start()
    {
        PlayerIsHere = false;

        pattern = 1;

        State = ReaperBossState.BossState.Idle;

        startPosition = transform.position;

        PlayerCharacter = GameObject.FindGameObjectWithTag("Player");

        agent = gameObject.GetComponent <NavMeshAgent>();
    }
 private void BackAttackAction()
 {
     State = ReaperBossState.BossState.BackAttack;
 }
 private void AvoidAction()
 {
     State = ReaperBossState.BossState.Evade;
 }
 private void ForwardAttackAction()
 {
     State = ReaperBossState.BossState.ForwardAttack;
 }
 private void IdleAction()
 {
     State = ReaperBossState.BossState.Idle;
 }