Finally wrote the monster manager API

This commit is contained in:
Kayne Ruse
2015-05-08 23:17:35 +10:00
parent 07faf1b96b
commit 102ba18b7b
7 changed files with 98 additions and 7 deletions
+2 -1
View File
@@ -37,7 +37,7 @@ public:
~MonsterManager();
//common public methods
int Create(std::string);
int Create(std::string avatar, int scriptRef);
void Unload(int uid);
void UnloadAll();
@@ -57,6 +57,7 @@ public:
private:
//members
std::map<int, MonsterData> elementMap;
int counter = 0;
lua_State* lua = nullptr;
sqlite3* database = nullptr;
};