| Package | org.wak.character |
| Class | public class CharactersManager |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| CharactersManager | ||
|
GetCharacter(pCharacterId:String):AdventureCharacter
Gets an AdventureCharacter by its id
| CharactersManager | ||
|
GetCharacterDisplay(pCharDisplayId:String):AbstractCharacterDisplay
Gets an AbstractCharacterDisplay by id
| CharactersManager | ||
|
Gets the current player's character.
| CharactersManager | ||
|
LoadCharsDefinitions(pXMLCharsDef:XML):void
Loads the Characters's definition, but do not instanciate them .
| CharactersManager | ||
|
LoadCharsDisplaysDefinitions(pXMLCharsDispDef:XML):void
Loads the CharacterDisplay's definition without instanciate them.
| CharactersManager | ||
| CharactersManager | () | constructor |
public function CharactersManager()Constructor.
| GetCharacter | () | method |
public function GetCharacter(pCharacterId:String):AdventureCharacterGets an AdventureCharacter by its id
ParameterspCharacterId:String — an AdventureCharacter Id.
|
AdventureCharacter —
AdventureCharacter of the id received in pCharacterId, returns null if doesn't exist.
|
| GetCharacterDisplay | () | method |
public function GetCharacterDisplay(pCharDisplayId:String):AbstractCharacterDisplayGets an AbstractCharacterDisplay by id
ParameterspCharDisplayId:String — a CharacterDisplay Id, usually defined in CharsDisplay.xml
|
AbstractCharacterDisplay —
AbstractCharacterDisplay of the id received in pCharDisplayId, returns null if doesn't exist.
|
| GetPlayerCharacter | () | method |
public function GetPlayerCharacter():AdventureCharacterGets the current player's character.
ReturnsAdventureCharacter |
| LoadCharsDefinitions | () | method |
public function LoadCharsDefinitions(pXMLCharsDef:XML):voidLoads the Characters's definition, but do not instanciate them .
ParameterspXMLCharsDef:XML — a XML object with the definition of the Characters.
|
| LoadCharsDisplaysDefinitions | () | method |
public function LoadCharsDisplaysDefinitions(pXMLCharsDispDef:XML):voidLoads the CharacterDisplay's definition without instanciate them.
ParameterspXMLCharsDispDef:XML — an XML with the character displays.
|