SimSprite Class Reference

#include <micropolis.h>

List of all members.

Public Attributes

 Pointer to next SimSprite object in the list.
char * name
 Name of the sprite.
int type
 Type of the sprite (TRA -- BUS).
int frame
 Frame (0 means non-active sprite).
int x
 X coordinate of the sprite in pixels?
int y
 Y coordinate of the sprite in pixels?
int width
int height
int xOffset
int yOffset
int xHot
 Offset of the hot-spot relative to SimSprite::x?
int yHot
 Offset of the hot-spot relative to SimSprite::y?
int origX
int origY
int destX
 Destination X coordinate of the sprite.
int destY
 Destination Y coordinate of the sprite.
int count
int soundCount
int dir
int newDir
int step
int flag
int control
int turn
int accel
int speed

Detailed Description

Sprite in the simulator.
SimSprite::name is never set to anything else than "", and only used to detect a non-removed non-active sprite (in a non-robust way).

Definition at line 985 of file micropolis.h.

The documentation for this class was generated from the following file:

Generated on Wed Feb 2 09:19:22 2011 for Micropolis by  doxygen 1.5.6