GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IState

Package | com.lookbackon.AI.FSM.states
Interface | public interface IState
Implementors | StateBase

Each state implements the IState interface. Each state implements enter and exit metheod for one-off action that the agent takes when entering and leaving the state, in addition to the update method which is run repeatedly while in the state. The time parameter in the update method is the duration of the frame we're excuting.

Public Properties

| Property | Defined By
--- | --- | ---
|  | description : String | IState

Public Methods

| Method | Defined By
--- | --- | ---
|  | enter():void | IState
|  | exit():void | IState
|  | update(time:Number = 0):void | IState

Property Detail

description | property

`description:String`

Implementation
`public function get description():String`
`public function set description(value:String):void`
Method Detail

enter | () | method

`public function enter():void`

exit | () | method |

`public function exit():void`

update | () | method |

`public function update(time:Number = 0):void`

Parameters

| `time:Number` (default = `0`)``

Thu Jan 16 2014, 01:11 PM +08:00