diff options
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h index 31142d11..21bb7566 100644 --- a/src/state.h +++ b/src/state.h @@ -47,6 +47,8 @@ class State : public utils::Singleton<State> public: /** + * Beings on map + * * The key/value pair conforms to: * First - map name * Second - list of beings/players on the map @@ -56,6 +58,15 @@ class State : public utils::Singleton<State> std::map<std::string, Beings> beings; /** + * Items on map + * + * The key/value pair conforms to: + * First - map name + * Second - Item ID + */ + std::map<std::string, int> items; + + /** * Container for loaded maps. */ std::map<std::string, Map*> maps; |