|
BWAPI
|
#include <StateMachine.h>
Public Member Functions | |
| StateMachine (entity_type *owner) | |
| virtual | ~StateMachine () |
| void | SetCurrentState (State< entity_type > *s) |
| void | SetGlobalState (State< entity_type > *s) |
| void | SetPreviousState (State< entity_type > *s) |
| void | Update () const |
| void | ChangeState (State< entity_type > *pNewState) |
| void | RevertToPreviousState () |
| bool | isInState (const State< entity_type > &st) const |
| State< entity_type > * | GetCurrentState () const |
| State< entity_type > * | GetGlobalState () const |
| State< entity_type > * | GetPreviousState () const |
| StateMachine< entity_type >::StateMachine | ( | entity_type * | owner | ) | [inline] |
| virtual StateMachine< entity_type >::~StateMachine | ( | ) | [inline, virtual] |
| void StateMachine< entity_type >::ChangeState | ( | State< entity_type > * | pNewState | ) | [inline] |

| State<entity_type>* StateMachine< entity_type >::GetCurrentState | ( | ) | const [inline] |
| State<entity_type>* StateMachine< entity_type >::GetGlobalState | ( | ) | const [inline] |
| State<entity_type>* StateMachine< entity_type >::GetPreviousState | ( | ) | const [inline] |
| bool StateMachine< entity_type >::isInState | ( | const State< entity_type > & | st | ) | const [inline] |
| void StateMachine< entity_type >::RevertToPreviousState | ( | ) | [inline] |
| void StateMachine< entity_type >::SetCurrentState | ( | State< entity_type > * | s | ) | [inline] |
| void StateMachine< entity_type >::SetGlobalState | ( | State< entity_type > * | s | ) | [inline] |
| void StateMachine< entity_type >::SetPreviousState | ( | State< entity_type > * | s | ) | [inline] |
| void StateMachine< entity_type >::Update | ( | ) | const [inline] |
1.7.6.1