Packageorg.wak.character.display
Interfacepublic interface ICharacterDisplayDefinition
ImplementorsXMLCharDisplayDefinition

Definition of a CharacterDisplayObject



Public Properties
 PropertyDefined by
  perspectiveEnabled : Boolean
[read-only] Enable or disable the scaling update for the perspective in the scene.
ICharacterDisplayDefinition
  scale : Number
[read-only] The scaling value for this display character.
ICharacterDisplayDefinition
Public Methods
 MethodDefined by
  
GetAnimBehaviour(pBehaviour:String):Animation
Return the animation asigned to a certain behaviour
ICharacterDisplayDefinition
  
Return an array of Animation s for each behaviour.
ICharacterDisplayDefinition
  
Gets the id of the CharacterDisplay .
ICharacterDisplayDefinition
  
GetFrameDelay():Number
Aplied only on SingleBmpCharacterDisplay.
ICharacterDisplayDefinition
  
GetMoveSpeed():Number
The move speed of the display.
ICharacterDisplayDefinition
  
GetPortrait():String
Character's Portrait id.
ICharacterDisplayDefinition
  
IsBmpDisplay():Boolean
Indicates if the CharacterDisplay should use BitmapMovieClips or flash MovieClips.
ICharacterDisplayDefinition
  
IsDummyDisplay():Boolean
flag to know if the display character is a dummy for testing.
ICharacterDisplayDefinition
Property detail
perspectiveEnabledproperty
perspectiveEnabled:Boolean  [read-only]

Enable or disable the scaling update for the perspective in the scene.

Implementation
    public function get perspectiveEnabled():Boolean
scaleproperty 
scale:Number  [read-only]

The scaling value for this display character.

Implementation
    public function get scale():Number
Method detail
GetAnimBehaviour()method
public function GetAnimBehaviour(pBehaviour:String):Animation

Return the animation asigned to a certain behaviour

Parameters
pBehaviour:String — behaviour id

Returns
Animation — The animation asigned to the behaviour passed in pBehaviour.

See also

GetAnimBehaviours()method 
public function GetAnimBehaviours():Array

Return an array of Animation s for each behaviour.

Returns
Array
GetCharDisplayId()method 
public function GetCharDisplayId():String

Gets the id of the CharacterDisplay .

Returns
String — id of the CharacterDisplay
GetFrameDelay()method 
public function GetFrameDelay():Number

Aplied only on SingleBmpCharacterDisplay.

Returns
Number — The delay of each frame in the animation.
GetMoveSpeed()method 
public function GetMoveSpeed():Number

The move speed of the display. usually the walk speed

Returns
Number — Number
GetPortrait()method 
public function GetPortrait():String

Character's Portrait id.

Returns
String
IsBmpDisplay()method 
public function IsBmpDisplay():Boolean

Indicates if the CharacterDisplay should use BitmapMovieClips or flash MovieClips.

Returns
Boolean — true if the DisplayDefinition corresponds to a BmpCharDisplay.
IsDummyDisplay()method 
public function IsDummyDisplay():Boolean

flag to know if the display character is a dummy for testing.

Returns
Boolean — true if the char display is the testing char display.