| Package | org.wak.character.display |
| Interface | public interface ICharacterDisplayDefinition |
| Implementors | XMLCharDisplayDefinition |
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
GetAnimBehaviour(pBehaviour:String):Animation
Return the animation asigned to a certain behaviour
| ICharacterDisplayDefinition | ||
|
GetAnimBehaviours():Array
Return an array of Animation s for each behaviour.
| ICharacterDisplayDefinition | ||
|
GetCharDisplayId():String
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 | ||
| perspectiveEnabled | property |
perspectiveEnabled:Boolean [read-only]Enable or disable the scaling update for the perspective in the scene.
Implementation public function get perspectiveEnabled():Boolean
| scale | property |
scale:Number [read-only]The scaling value for this display character.
Implementation public function get scale():Number
| GetAnimBehaviour | () | method |
public function GetAnimBehaviour(pBehaviour:String):AnimationReturn the animation asigned to a certain behaviour
ParameterspBehaviour:String — behaviour id
|
Animation —
The animation asigned to the behaviour passed in pBehaviour.
|
See also
| GetAnimBehaviours | () | method |
public function GetAnimBehaviours():ArrayReturn an array of Animation s for each behaviour.
ReturnsArray |
| GetCharDisplayId | () | method |
public function GetCharDisplayId():StringGets the id of the CharacterDisplay .
ReturnsString — id of the CharacterDisplay
|
| GetFrameDelay | () | method |
public function GetFrameDelay():NumberAplied only on SingleBmpCharacterDisplay.
ReturnsNumber — The delay of each frame in the animation.
|
| GetMoveSpeed | () | method |
public function GetMoveSpeed():NumberThe move speed of the display. usually the walk speed
ReturnsNumber — Number
|
| GetPortrait | () | method |
public function GetPortrait():StringCharacter's Portrait id.
ReturnsString |
| IsBmpDisplay | () | method |
public function IsBmpDisplay():BooleanIndicates if the CharacterDisplay should use BitmapMovieClips or flash MovieClips.
ReturnsBoolean — true if the DisplayDefinition corresponds to a BmpCharDisplay.
|
| IsDummyDisplay | () | method |
public function IsDummyDisplay():Booleanflag to know if the display character is a dummy for testing.
ReturnsBoolean — true if the char display is the testing char display.
|