| Package | com.lookbackon.AI.HFSM.states |
| Class | public class HStateBase |
| Inheritance | HStateBase StateBase Object |
| Implements | IHState |
| Method | Defined By | ||
|---|---|---|---|
HStateBase(agent:IAgent, resource:Object, description:String = null) | HStateBase | ||
derivesFrom(state:IState):Boolean
Note that derivesFrom() is a template function in a class template and to use it,
each sub-state should override this function. | HStateBase | ||
![]() | enter():void | StateBase | |
![]() | exit():void | StateBase | |
![]() | update(time:Number = 0):void | StateBase | |
| HStateBase | () | Constructor |
public function HStateBase(agent:IAgent, resource:Object, description:String = null)agent:IAgent | |
resource:Object | |
description:String (default = null) |
| derivesFrom | () | method |
public function derivesFrom(state:IState):BooleanNote that derivesFrom() is a template function in a class template and to use it, each sub-state should override this function.
Parameters
state:IState |
Boolean |