Definiciones |
#define | obj_sprite(world, id, x, y, angle, lifetime, color) object_init(sprite_init(world,id,x,y,angle,lifetime,color),&sprite_object_operations) |
| Macro to make it easy to construct an object of a sprite.
|
Funciones |
sprite | sprite_init (world, display display, id, int x, int y, int w, int h, int lifetime, char *bitmap) |
| Initializes a sprite. Más...
|
void | sprite_destroy (sprite) |
| Destroy a sprite object. Más...
|
int | sprite_step (sprite) |
| A function part of the object operations. Más...
|
int | sprite_alive (sprite) |
| A function part of the object operations. Más...
|
int | sprite_show (sprite) |
| A function needed to create an object to attach to a world. Más...
|
int | sprite_action (sprite, SDL_Event *action) |
| A function needed to create an object to attach to a world. Más...
|
Variables |
object_operations | sprite_object_operations |
| Template of the object_operation related with a sprite. Más...
|
object | sprite_obj_template |
| Template of a sprite object. Más...
|