::

interface XSpriteCanvas
Base Hierarchy
XCanvas
 |
 +-XBitmapCanvas
    |
    +-XSpriteCanvas

Methods' Summary
createSprite Create a sprite object from the specified animation sequence. A sprite is a back-buffered object with its own, independent animation.
moveSprite Move the given sprite to the specified position.
Methods' Details
createSprite
XSprite
createSprite(
 
[in] XAnimation
 
animation );

Description
Create a sprite object from the specified animation sequence. A sprite is a back-buffered object with its own, independent animation.
moveSprite
void
moveSprite(
 
[in] XSprite
[in] Point2D
[in] ViewState
[in] RenderState
 
sprite,
aNewPos,
viewState,
renderState );

Description
Move the given sprite to the specified position.
Top of Page