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

Package | Top Level
Class | public class ApplicationBase
Inheritance | ApplicationBase flash.display.Sprite

ApplicationBase.as class constructed with framework's workflow:(this base application actually is a classic "TicTacToc" chess game example); 1.initializeHandler;(protected for override) 2.applicationCompleteHandler;(private) 3.override-able properties(chessPieceManager,pluginProvider) Notice:this ApplicationBase class actually is TicTacToe board game.

Public Properties

| Property | Defined By
--- | --- | ---
|  | chessPiecesManager : IChessPieceManager [read-only] Override this for customize chess pieces manager. | ApplicationBase
|  | gameStateManager : IGameStateManager [read-only] Override this for customize game state manager. | ApplicationBase
|  | _mochiads_game_id : String = cbee52026094f585 | ApplicationBase
|  | pluginProvider : IPlug [read-only] Override this for customize plugin provider. | ApplicationBase
|  | pluginStage : MovieClip | ApplicationBase
|  | pluginUIComponent : PluginUIComponent | ApplicationBase
|  | themeClass : Class [read-only] Override this for customize game theme. | ApplicationBase

Protected Properties

| Property | Defined By
--- | --- | ---
|  | pcFactory : Class | ApplicationBase
|  | _pluginProvider : IPlug | ApplicationBase

Public Methods

| Method | Defined By
--- | --- | ---
|  | ApplicationBase() Application bootstrap class. | ApplicationBase
|  | dumpFootSprint():void Foot sprint dump,optional for logging the end of turn messages. | ApplicationBase

Protected Methods

| Method | Defined By
--- | --- | ---
|  | initializeHandler():void All kinds of view components initialization here. | ApplicationBase

Property Detail

_mochiads_game_id | property

`public var _mochiads_game_id:String = cbee52026094f585`

_pluginProvider | property |

`protected var _pluginProvider:IPlug`

chessPiecesManager | property |

`chessPiecesManager:IChessPieceManager` [read-only]

Override this for customize chess pieces manager.

Implementation
`public function get chessPiecesManager():IChessPieceManager`

gameStateManager | property |

`gameStateManager:IGameStateManager` [read-only]

Override this for customize game state manager.

Implementation
`public function get gameStateManager():IGameStateManager`

pcFactory | property |

`protected var pcFactory:Class`

pluginProvider | property |

`pluginProvider:IPlug` [read-only]

Override this for customize plugin provider.

Implementation
`public function get pluginProvider():IPlug`

pluginStage | property |

`public var pluginStage:MovieClip`

pluginUIComponent | property |

`public var pluginUIComponent:PluginUIComponent`

themeClass | property |

`themeClass:Class` [read-only]

Override this for customize game theme.

Implementation
`public function get themeClass():Class`
Constructor Detail

ApplicationBase | () | Constructor

`public function ApplicationBase()`

Application bootstrap class.

Method Detail

dumpFootSprint | () | method

`public function dumpFootSprint():void`

Foot sprint dump,optional for logging the end of turn messages.

initializeHandler | () | method |

`protected function initializeHandler():void`

All kinds of view components initialization here.

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