Sprite

Sprite is a pointer to a data structure which contains the following data. This data type can be used to define something with a picture which moves frequently. Sprite can contain an animation which can be update through UpdateSprite or UpdateSpriteAnimation. All sprites must be created using CreateSprite routine and must be freed with FreeSprite when you are finished with it.
 * Basic
 * x (Single) - X coordinate
 * y (Single) - Y coordinate
 * xPos (Pointer to x) - X coordinate, kept for compatibility with previous versions
 * yPos (Pointer to y) - Y coordinate, kept for compatibility with previous versions
 * movement (Vector) - Movement vector - see note for modifying from .NET or VB6
 * mass (Single) - Mass
 * hasEnded (Boolean) - True if this sprite has finished animating
 * Internal
 * bitmaps (Array of Bitmap)
 * spriteKind (SpriteKind)
 * framesPerCell (Array of Integer)
 * width (Integer)
 * height (Integer)
 * cols (Integer)
 * row (Integer)
 * frameCount (Integer)
 * currentFrame (Integer)
 * usePixelCollision (Boolean)
 * endingAction (SpriteEndingAction)
 * reverse (Boolean)

Also See

 * Vector
 * SpriteKind
 * SpriteEndingAction