Packageorg.wak.character.display
Classpublic class Animation

Data structure to contain an Animation description loaded from the CharDisplays xml.



Public Properties
 PropertyDefined by
  behaviour : String
[read-only]
Animation
  cols : int
[read-only] Animation Columns in the case of a tiled Bitmap
Animation
  flipH : Boolean
[read-only] Flip Horizontal
Animation
  flipV : Boolean
[read-only] Flip Vertical
Animation
  offsetX : Number
[read-only] Horizontal offset of the animation inside the character display.
Animation
  offsetY : Number
[read-only] Vertical offset of the animation inside the character display.
Animation
  resourceId : String
[read-only] The id of the Bitmap or MovieClip behind this animation.
Animation
  rows : int
[read-only] Animation Rows in the case of a tiled Bitmap
Animation
Public Methods
 MethodDefined by
  
Animation(pAnimXML:XML)
Animation
  
toString():String
Animation
Property detail
behaviourproperty
behaviour:String  [read-only]

Implementation
    public function get behaviour():String

See also

colsproperty 
cols:int  [read-only]

Animation Columns in the case of a tiled Bitmap

Implementation
    public function get cols():int
flipHproperty 
flipH:Boolean  [read-only]

Flip Horizontal

Implementation
    public function get flipH():Boolean
flipVproperty 
flipV:Boolean  [read-only]

Flip Vertical

Implementation
    public function get flipV():Boolean
offsetXproperty 
offsetX:Number  [read-only]

Horizontal offset of the animation inside the character display.

Implementation
    public function get offsetX():Number
offsetYproperty 
offsetY:Number  [read-only]

Vertical offset of the animation inside the character display.

Implementation
    public function get offsetY():Number
resourceIdproperty 
resourceId:String  [read-only]

The id of the Bitmap or MovieClip behind this animation.

Implementation
    public function get resourceId():String
rowsproperty 
rows:int  [read-only]

Animation Rows in the case of a tiled Bitmap

Implementation
    public function get rows():int
Constructor detail
Animation()constructor
public function Animation(pAnimXML:XML)Parameters
pAnimXML:XML
Method detail
toString()method
public function toString():String

Returns
String