| Package | com.lookbackon.AI.FSM.states |
| Class | public class StateBase |
| Inheritance | StateBase Object |
| Implements | IState |
| Subclasses | AnotherHumanState, AnotherHumanWinState, AttackState, ComputerState, ComputerWinState, DefenseState, HStateBase, HumanState, HumanWinState, NascenceState, RenascenceState |
| Property | Defined By | ||
|---|---|---|---|
| description : String | StateBase | ||
| Method | Defined By | ||
|---|---|---|---|
| StateBase | |||
enter():void | StateBase | ||
exit():void | StateBase | ||
update(time:Number = 0):void | StateBase | ||
| agent | property |
protected var agent:IAgent| description | property |
description:String public function get description():String public function set description(value:String):void| resource | property |
protected var resource:Object| StateBase | () | Constructor |
public function StateBase(agent:IAgent, resource:Object, description:String = null)agent:IAgent | |
resource:Object | |
description:String (default = null) |
| enter | () | method |
public function enter():void| exit | () | method |
public function exit():void| update | () | method |
public function update(time:Number = 0):voidParameters
time:Number (default = 0) |