Packageorg.wak.action.modern
Classpublic class ActionControllerModern
ImplementsIActionController

Action controller for the modern adventure style



Protected Properties
 PropertyDefined by
  mActiveAction : BaseAction = null
The current active action.
ActionControllerModern
  mModernGui : ModernGui = null
Local reference to the mdoern Gui.
ActionControllerModern
  mPlayerChar : AdventureCharacter = null
Character the current player's character.
ActionControllerModern
Public Methods
 MethodDefined by
  
Constructor.
ActionControllerModern
  
EndOfAction():void
Called from a PuzzleController when the consecuence of certain action ended its execution.
ActionControllerModern
  
Initialize():void
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
  
OnExitScene(event:SceneEvent):void
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
  
ActionControllerModern
Property detail
mActiveActionproperty
protected var mActiveAction:BaseAction = null

The current active action.

mModernGuiproperty 
protected var mModernGui:ModernGui = null

Local reference to the mdoern Gui.

mPlayerCharproperty 
protected var mPlayerChar:AdventureCharacter = null

Character the current player's character.

Constructor detail
ActionControllerModern()constructor
public function ActionControllerModern()

Constructor.

Method detail
EndOfAction()method
public function EndOfAction():void

Called from a PuzzleController when the consecuence of certain action ended its execution.

Initialize()method 
public function Initialize():void
OnActionSelected()method 
public function OnActionSelected(event:GuiEvent):voidParameters
event:GuiEvent
OnEnterScene()method 
public function OnEnterScene(event:SceneEvent):voidParameters
event:SceneEvent
OnExitScene()method 
public function OnExitScene(event:SceneEvent):voidParameters
event:SceneEvent
OnInventoryItemOut()method 
public function OnInventoryItemOut(event:GuiEvent):voidParameters
event:GuiEvent
OnInventoryItemOver()method 
public function OnInventoryItemOver(event:GuiEvent):voidParameters
event:GuiEvent
OnInventoryItemSelected()method 
public function OnInventoryItemSelected(event:GuiEvent):voidParameters
event:GuiEvent
OnSceneItemClick()method 
public function OnSceneItemClick(event:SceneEvent):voidParameters
event:SceneEvent
OnSceneItemMouseOut()method 
public function OnSceneItemMouseOut(event:SceneEvent):voidParameters
event:SceneEvent
OnSceneItemMouseOver()method 
public function OnSceneItemMouseOver(event:SceneEvent):voidParameters
event:SceneEvent
OnSceneSpaceClick()method 
public function OnSceneSpaceClick(event:SceneEvent):voidParameters
event:SceneEvent