#include <list.h>
#include <SDL.h>
#include <action.h>
Clases | |
struct | object_operations |
All the permited operations an object can do. Más... | |
struct | object |
A generic object. Más... | |
Funciones | |
object | object_init (void *priv, struct object_operations *object_ops) |
It initializes an object. Más... | |
void | object_destroy (object) |
It destroys an object. Más... |
|
It initializes an object. You must call this function before using the object.
|
|
It destroys an object. It frees the resources of the object. You must call it when are not going to use the object anymore (ex. player dead)
|