Manager of the Graphical user interface used in the adventure.
adventureGui:IAdventureGui [read-only]
The current IAdventureGui.
Implementation
public function get adventureGui():IAdventureGui
enabled:Boolean [read-write]Implementation
public function get enabled():Boolean
public function set enabled(value:Boolean):void
public function GuiManager(pGuiLayer:Sprite, pCursorLayer:Sprite, pAdventureStyle:String)
Constructor
Parameters
| pGuiLayer:Sprite — The Sprite layer of the game where to draw the GUI.
|
| |
| pCursorLayer:Sprite — The Sprite layer of the game where to draw the mouse cursor.
|
| |
| pAdventureStyle:String — What kind of adventure style
|
public function Initialize(pGuiSettings:XML):void
Initializes the Graphic User interface Manager
Parameters
| pGuiSettings:XML — an xml with the graphics settings for the selected GUI
|
protected function OnMouseLeave(event:Event):voidParameters
protected function OnMouseMove(event:Event):voidParameters