Packageorg.wak.gui
Classpublic class GuiManager
InheritanceGuiManager Inheritance flash.events.EventDispatcher

Manager of the Graphical user interface used in the adventure.



Public Properties
 PropertyDefined by
  adventureGui : IAdventureGui
[read-only] The current IAdventureGui.
GuiManager
  enabled : Boolean
GuiManager
Public Methods
 MethodDefined by
  
GuiManager(pGuiLayer:Sprite, pCursorLayer:Sprite, pAdventureStyle:String)
Constructor
GuiManager
  
Initialize(pGuiSettings:XML):void
Initializes the Graphic User interface Manager
GuiManager
Protected Methods
 MethodDefined by
  
OnMouseLeave(event:Event):void
GuiManager
  
OnMouseMove(event:Event):void
GuiManager
Property detail
adventureGuiproperty
adventureGui:IAdventureGui  [read-only]

The current IAdventureGui.

Implementation
    public function get adventureGui():IAdventureGui
enabledproperty 
enabled:Boolean  [read-write]Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
Constructor detail
GuiManager()constructor
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
Method detail
Initialize()method
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
OnMouseLeave()method 
protected function OnMouseLeave(event:Event):voidParameters
event:Event
OnMouseMove()method 
protected function OnMouseMove(event:Event):voidParameters
event:Event