|
Adonthell
0.4
|
The global container for access to all the different game objects from within a script. More...
#include <storage.h>
Public Member Functions | |
| objects () | |
| Default constructor. More... | |
| void | set_val (const char *key, storage *val) |
| Associates an object to a key. More... | |
| storage * | get_val (const char *key) |
| Returns a storage associated to a key. More... | |
| void | erase (const char *key) |
| Erases a storage from it's key. More... | |
| storage * | next () |
| Returns the next storage in the object. More... | |
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.