Packageorg.wak.action.scumm
Classpublic class ActionControllerScumm
ImplementsIActionController

Action controller for the scumm adventure style



Protected Properties
 PropertyDefined by
  mActiveAction : BaseAction = null
The current active action.
ActionControllerScumm
  mCurrentDefaulAction : String = ""
Default action of the last accepted mPotentialActionArgument .
ActionControllerScumm
  mCurrentSelectedButtonId : String = ""
Action id of the button selected in the scumm gui.
ActionControllerScumm
  mPlayerChar : AdventureCharacter = null
Character the current player's character.
ActionControllerScumm
  mPotentialActionArgument : String = ""
IInteractable's name of a possible action's parameter.
ActionControllerScumm
  mScummGui : ScummGui = null
Local reference to the Scumm Gui.
ActionControllerScumm
Public Methods
 MethodDefined by
  
Constructor
ActionControllerScumm
  
EndOfAction():void
Called from a PuzzleController when the consecuence of certain action ended its execution.
ActionControllerScumm
  
Initialize():void
Initialize method.
ActionControllerScumm
  
Event received when an action is selected on the gui using a button or any other way.
ActionControllerScumm
  
Event received when the player enters into the scene
ActionControllerScumm
  
OnExitScene(event:SceneEvent):void
Event received when the player exists the scene
ActionControllerScumm
  
Event received when an inventory item is with mouse out.
ActionControllerScumm
  
Event received when an inventory item is with mouse over.
ActionControllerScumm
  
Event received when an inventory item is selected on the gui .
ActionControllerScumm
  
Event received when the player clicks over a SceneItem.
ActionControllerScumm
  
Event received when the player moves the mouse out of a SceneItem.
ActionControllerScumm
  
Event received when the player moves the mouse over a SceneItem.
ActionControllerScumm
  
Event received when the player clicks over an empty space on the scene.
ActionControllerScumm
Property detail
mActiveActionproperty
protected var mActiveAction:BaseAction = null

The current active action.

mCurrentDefaulActionproperty 
protected var mCurrentDefaulAction:String = ""

Default action of the last accepted mPotentialActionArgument .

mCurrentSelectedButtonIdproperty 
protected var mCurrentSelectedButtonId:String = ""

Action id of the button selected in the scumm gui.

mPlayerCharproperty 
protected var mPlayerChar:AdventureCharacter = null

Character the current player's character.

mPotentialActionArgumentproperty 
protected var mPotentialActionArgument:String = ""

IInteractable's name of a possible action's parameter.

mScummGuiproperty 
protected var mScummGui:ScummGui = null

Local reference to the Scumm Gui.

Constructor detail
ActionControllerScumm()constructor
public function ActionControllerScumm()

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

Initialize method.

OnActionSelected()method 
public function OnActionSelected(event:GuiEvent):void

Event received when an action is selected on the gui using a button or any other way.

Parameters
event:GuiEvent — GuiEvent containing the event info.
OnEnterScene()method 
public function OnEnterScene(event:SceneEvent):void

Event received when the player enters into the scene

Parameters
event:SceneEvent — SceneEvent containing the event info.
OnExitScene()method 
public function OnExitScene(event:SceneEvent):void

Event received when the player exists the scene

Parameters
event:SceneEvent — SceneEvent containing the event info.
OnInventoryItemOut()method 
public function OnInventoryItemOut(event:GuiEvent):void

Event received when an inventory item is with mouse out.

Parameters
event:GuiEvent — GuiEvent containing the event info.
OnInventoryItemOver()method 
public function OnInventoryItemOver(event:GuiEvent):void

Event received when an inventory item is with mouse over.

Parameters
event:GuiEvent — GuiEvent containing the event info.
OnInventoryItemSelected()method 
public function OnInventoryItemSelected(event:GuiEvent):void

Event received when an inventory item is selected on the gui .

Parameters
event:GuiEvent — GuiEvent containing the event info.
OnSceneItemClick()method 
public function OnSceneItemClick(event:SceneEvent):void

Event received when the player clicks over a SceneItem.

Parameters
event:SceneEvent — SceneEvent containing the event info.
OnSceneItemMouseOut()method 
public function OnSceneItemMouseOut(event:SceneEvent):void

Event received when the player moves the mouse out of a SceneItem.

Parameters
event:SceneEvent — SceneEvent containing the event info.
OnSceneItemMouseOver()method 
public function OnSceneItemMouseOver(event:SceneEvent):void

Event received when the player moves the mouse over a SceneItem.

Parameters
event:SceneEvent — SceneEvent containing the event info.
OnSceneSpaceClick()method 
public function OnSceneSpaceClick(event:SceneEvent):void

Event received when the player clicks over an empty space on the scene.

Parameters
event:SceneEvent — SceneEvent containing the event info.