예제 #1
0
        }                                               //当前Ai状态

        #endregion


        //----------------------------------------------------------------------


        #region Virtual_Methods

        //更换AI状态
        public virtual void ChangeAiState(IAIState state)
        {
            _aiState = state;
            _aiState.SetCharactorAi(this);
            _beginRunStart = true;
        }
예제 #2
0
 public override void ChangeAiState(IAIState state)
 {
     base.ChangeAiState(state);
     state.SetAttackPosition(AttackPostion);
 }