Packageorg.wak.main
Classpublic class XMLAdventureSettings
ImplementsIAdventureSettings

Collects the settings data from XML.



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.
XMLAdventureSettings
Public Methods
 MethodDefined by
  
Constructor
XMLAdventureSettings
  
The id of the player's character by default.
XMLAdventureSettings
  
The adventure style of the game.
XMLAdventureSettings
  
The default default language.
XMLAdventureSettings
  
Gets the id of the Scene where the player should start the adventure.
XMLAdventureSettings
Property detail
useCustomCursorsproperty
useCustomCursors:Boolean  [read-only]

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

Implementation
    public function get useCustomCursors():Boolean
Constructor detail
XMLAdventureSettings()constructor
public function XMLAdventureSettings(pXML:XML)

Constructor

Parameters
pXML:XML — xml data collected from a Settings xml.
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.
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.