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

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

ComputerState.as class.The game statement of Computer with flag(blue).

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | description : String | StateBase
|  | searching : ISearching | ComputerState

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | agent : IAgent | StateBase
|  | chessBoardModel : ChessBoardModel | ComputerState
|  | chessGasketsModel : ChessGasketsModel | ComputerState
|  | chessPiecesModel : ChessPiecesModel | ComputerState
|  | resource : Object | StateBase

Public Methods

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

Property Detail

chessBoardModel | property

`protected var chessBoardModel:ChessBoardModel`

chessGasketsModel | property |

`protected var chessGasketsModel:ChessGasketsModel`

chessPiecesModel | property |

`protected var chessPiecesModel:ChessPiecesModel`

searching | property |

`public var searching:ISearching`

Constructor Detail

ComputerState | () | Constructor

`public function ComputerState(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