Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.AIState Class Reference

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_". More...

Public Member Functions

virtual void SetBrain (AIBrain brain)
 Sets this state's brain to the one specified in parameters More...
 
virtual void EnterState ()
 On enter state we pass that info to our actions and decisions More...
 
virtual void ExitState ()
 On exit state we pass that info to our actions and decisions More...
 
virtual void PerformActions ()
 Performs this state's actions More...
 
virtual void EvaluateTransitions ()
 Tests this state's transitions More...
 

Public Attributes

string StateName
 the name of the state (will be used as a reference in Transitions More...
 
AIActionsList Actions
 
AITransitionsList Transitions
 

Protected Attributes

AIBrain _brain
 

Detailed Description

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_".

Member Function Documentation

◆ EnterState()

virtual void MoreMountains.Tools.AIState.EnterState ( )
virtual

On enter state we pass that info to our actions and decisions

◆ EvaluateTransitions()

virtual void MoreMountains.Tools.AIState.EvaluateTransitions ( )
virtual

Tests this state's transitions

◆ ExitState()

virtual void MoreMountains.Tools.AIState.ExitState ( )
virtual

On exit state we pass that info to our actions and decisions

◆ PerformActions()

virtual void MoreMountains.Tools.AIState.PerformActions ( )
virtual

Performs this state's actions

◆ SetBrain()

virtual void MoreMountains.Tools.AIState.SetBrain ( AIBrain  brain)
virtual

Sets this state's brain to the one specified in parameters

Parameters
brain

Member Data Documentation

◆ _brain

AIBrain MoreMountains.Tools.AIState._brain
protected

◆ Actions

AIActionsList MoreMountains.Tools.AIState.Actions

◆ StateName

string MoreMountains.Tools.AIState.StateName

the name of the state (will be used as a reference in Transitions

◆ Transitions

AITransitionsList MoreMountains.Tools.AIState.Transitions

The documentation for this class was generated from the following file: