|
Inventory Engine v4.2
|
A State is a combination of one or more actions, and one or more transitions. More...
Public Member Functions | |
| virtual void | SetBrain (AIBrain brain) |
| Sets this state's brain to the one specified in parameters. | |
| virtual void | EnterState () |
| On enter state we pass that info to our actions and decisions. | |
| virtual void | ExitState () |
| On exit state we pass that info to our actions and decisions. | |
| virtual void | PerformActions () |
| Performs this state's actions. | |
| virtual void | EvaluateTransitions () |
| Tests this state's transitions. | |
Public Attributes | |
| string | StateName |
| the name of the state (will be used as a reference in Transitions | |
| AIActionsList | Actions |
| AITransitionsList | Transitions |
Protected Attributes | |
| AIBrain | _brain |
A State is a combination of one or more actions, and one or more transitions.
An example of a state could be "_patrolling until an enemy gets in range_".
|
virtual |
On enter state we pass that info to our actions and decisions.
|
virtual |
Tests this state's transitions.
|
virtual |
On exit state we pass that info to our actions and decisions.
|
virtual |
Performs this state's actions.
|
virtual |
Sets this state's brain to the one specified in parameters.
| brain |
|
protected |
| AIActionsList MoreMountains.Tools.AIState.Actions |
| string MoreMountains.Tools.AIState.StateName |
the name of the state (will be used as a reference in Transitions
| AITransitionsList MoreMountains.Tools.AIState.Transitions |