3 namespace HKI.Core.AI.StateMachine
20 DoActions(controller);
21 CheckTransitions(controller);
27 for (
int i = 0; i < Actions.Length; i++)
28 Actions[i].Act(controller);
33 for (
int i = 0; i < Transitions.Length; i++)
35 bool decisionSucceeded = Transitions[i].
Decision.
Decide(controller);
37 if (decisionSucceeded)
This is obsolete code it'll be removed later. For now it's still included for exemplary purposes for ...
void CheckTransitions(AIStateController controller)
This is obsolete code it'll be removed later. For now it's still included for exemplary purposes for ...
abstract bool Decide(AIStateController controller)
void TransitionToState(AIState nextState)
This is obsolete code it'll be removed later. For now it's still included for exemplary purposes for ...
This is obsolete code it'll be removed later. For now it's still included for exemplary purposes for ...
AITransition [] Transitions
void UpdateState(AIStateController controller)
void DoActions(AIStateController controller)