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

Package | com.godpaper.as3.business.fsm.states.chess
Class | public class NascenceState
Inheritance | NascenceState StateBase Object

NascenceState.as class. Chess piece nacency state after created from chess factory;

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

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

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | agent : IAgent | StateBase
|  | resource : Object | StateBase

Public Methods

| Method | Defined By
--- | --- | ---
|  | NascenceState(agent:ChessAgent, resource:Object, description:String = null) | NascenceState
|  | enter():void [override] | NascenceState
|  | exit():void [override] | NascenceState
|  | update(time:Number = 0):void [override] | NascenceState

Constructor Detail

NascenceState | () | Constructor

`public function NascenceState(agent:ChessAgent, resource:Object, description:String = null)`

Parameters

| `agent:ChessAgent`
| `resource:Object`
| `description:String` (default = `null`)``

Method Detail

enter | () | method

`override public function enter():void`

exit | () | method |

`override public function exit():void`

update | () | method |

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

Parameters

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

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