Esempio n. 1
0
 public AIExecutor(AIAgent agent)
 {
     this.agent   = agent;
     stateMachine = new AIStateMachine(agent);
 }
Esempio n. 2
0
 public virtual void Enter(AIStateMachine stateMachine, Action SuccessCallback, Action FailureCallback)
 {
     this.stateMachine    = stateMachine;
     this.SuccessCallback = SuccessCallback;
     this.FailureCallback = FailureCallback;
 }