Adonthell
0.4
|
The global container for access to all the different game objects from within a script. More...
#include <storage.h>
Classes | |
struct | ltstr |
Public Member Functions | |
objects () | |
Default constructor. | |
void | set_val (const char *key, storage *val) |
Associates an object to a key. | |
storage * | get_val (const char *key) |
Returns a storage associated to a key. | |
void | erase (const char *key) |
Erases a storage from it's key. | |
storage * | next () |
Returns the next storage in the object. |
The global container for access to all the different game objects from within a script.
void objects::set_val | ( | const char * | key, |
storage * | val | ||
) |
Associates an object to a key.
key | key. |
val | storage associated to key. |
Definition at line 88 of file storage.cc.
storage * objects::get_val | ( | const char * | key | ) |
Returns a storage associated to a key.
key | key to return. |
Definition at line 114 of file storage.cc.
void objects::erase | ( | const char * | key | ) |
Erases a storage from it's key.
key | key to erase. |
Definition at line 139 of file storage.cc.
storage * objects::next | ( | ) |
Returns the next storage in the object.
Definition at line 150 of file storage.cc.