Another definition for "sprite"

The term "sprite" predates XNA itself, and it can be used to refer to any method of displaying a bitmap over an existing background. In Asteroid Belt Assault, we will expand our use of the term "sprite" to include a class that stores both the bitmap image associated with the sprite, information about its current location on the screen, animation frames, and the code necessary to update and draw the object.

Building the Sprite class

The Sprite class will be used as the basis for all of the objects drawn in Asteroid Belt Assault. It will support collision detection and frame-based animation.

Get XNA 4.0 Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.