Method |
Description |
|
AddTransition ( FsmTransitionId trans, FsmStateId id ) : void |
|
|
DeleteTransition ( FsmTransitionId trans ) : void |
This method deletes a pair transition-state from this state's map. If the transition was not inside the state's map, an ERROR message is printed. |
|
DoBeforeEntering ( ) : void |
This method is used to set up the State condition before entering it. It is called automatically by the FSMSystem class before assigning it to the current state. |
|
DoBeforeLeaving ( ) : void |
This method is used to make anything necessary, as reseting variables before the FSMSystem changes to another one. It is called automatically by the FSMSystem before changing to a new state. |
|
FsmState ( FsmStateId _stateId ) : System |
|
|
GetOutputState ( FsmTransitionId trans ) : FsmStateId |
This method returns the new state the FSM should be if this state receives a transition and |
|
OnGui ( ) : void |
|
|
PerformTransition ( FsmTransitionId trans ) : void |
|
|
SetOwner ( FsmSystem, _fsm ) : void |
|
|
Update ( ) : void |
This method is a generic update - just do stuff that this state does per frame |
|
WithBeforeEnteringAction ( Action action ) : FsmState, |
|
|
WithBeforeLeavingAction ( Action action ) : FsmState, |
|
|
WithOnGuiAction ( Action action ) : FsmState, |
|
|
WithTransition ( FsmTransitionId trans, FsmStateId id ) : FsmState, |
|
|
WithUpdateAction ( Action action ) : FsmState, |
|
|