public override void Update(BossAgent agent)
 {
     if (agent.GetIsPlayerInRange())
     {
         agent.SetState(BossFollowPlayerState.GetInstance());
     }
     if (agent.GetIsBaseInAttackRange())
     {
         agent.SetState(BossAttackState.GetInstance());
     }
 }
 public override void Update(BossAgent agent)
 {
     agent.SetPlayerAsTarget();
     if (agent.GetIsPlayerInAttackRange())
     {
         agent.SetState(BossAttackState.GetInstance());
     }
     if (!agent.GetIsPlayerInRange())
     {
         agent.SetState(BossChargeTownState.GetInstance());
     }
 }