public override void Visit(SkillState skillState) { if (skillState.IsEnd()) { BasicState basicState = player.GetBasicState(); basicState.Stop(); player.SetState(basicState); } }
public override void Visit(SkillState skillState) { if (skillState.IsEnd()) { BasicState basicState = player.GetBasicState(); basicState.ChaseTarget(targetUnit); player.SetState(basicState); } }
public override void Visit(SkillState skillState) { if (skillState.IsEnd()) { BasicState basicState = player.GetBasicState(); basicState.MoveTo(destination); player.SetState(basicState); } }