#include <list.h>
#include <stdlib.h>
#include <object.h>
Funciones | |
object | object_init (void *priv, struct object_operations *object_ops) |
It initializes an object. Más... | |
void | object_destroy (object obj) |
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)
|