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

Package | com.godpaper.as3.business.fsm.states.game
Class | public class ComputerWinState
Inheritance | ComputerWinState StateBase Object

ComputerWinState.as class.

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
--- | --- | ---
|  | ComputerWinState(agent:IAgent, resource:Object, description:String = null) | ComputerWinState
|  | enter():void [override] | ComputerWinState
|  | exit():void [override] | ComputerWinState
|  | update(time:Number = 0):void [override] | ComputerWinState

Constructor Detail

ComputerWinState | () | Constructor

`public function ComputerWinState(agent:IAgent, resource:Object, description:String = null)`

Parameters

| `agent:IAgent`
| `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