Packageorg.wak.main
Interfacepublic interface IAdventureSettings
ImplementorsXMLAdventureSettings

Interface to group the global settings of the game inside one class to be given to the AdventureMaster at initialization time.



Public Properties
 PropertyDefined by
  useCustomCursors : Boolean
[read-only] Flag to know if the adventure should use custom mouse cursors or only the default mouse cursor.
IAdventureSettings
Public Methods
 MethodDefined by
  
The id of the player's character by default.
IAdventureSettings
  
The adventure style of the game.
IAdventureSettings
  
The default default language.
IAdventureSettings
  
Gets the id of the Scene where the player should start the adventure.
IAdventureSettings
Property detail
useCustomCursorsproperty
useCustomCursors:Boolean  [read-only]

Flag to know if the adventure should use custom mouse cursors or only the default mouse cursor.

The default value is true.

Implementation
    public function get useCustomCursors():Boolean
Method detail
GetAdventureDefaultCharacterId()method
public function GetAdventureDefaultCharacterId():String

The id of the player's character by default. the player's character could be overrided by the scene definition.

Returns
String
GetAdventureStyle()method 
public function GetAdventureStyle():String

The adventure style of the game. There are3 supported styles - scumm Classic Lucasarts game like Monkey Island. - sci Classic Sierra games like King's Quest - modern a modern adventure interface

Returns
String — String with the adventure style.

See also

GetDefaultLanguage()method 
public function GetDefaultLanguage():String

The default default language.

Returns
String
GetPlayerStartingRoom()method 
public function GetPlayerStartingRoom():String

Gets the id of the Scene where the player should start the adventure.

Returns
String — id of Scene where the player starts the adventure.