Reverted some of the changes, stable

This commit is contained in:
Kayne Ruse
2014-04-15 23:21:28 +10:00
parent 9bacfb1424
commit 6d32d44fa3
9 changed files with 84 additions and 187 deletions
+4 -6
View File
@@ -23,9 +23,8 @@
#define SERVERAPPLICATION_HPP_
//server specific stuff
#include "client.hpp"
#include "entity.hpp"
#include "player_entity.hpp"
#include "client_entry.hpp"
#include "player_entry.hpp"
//maps
#include "map_generator.hpp"
@@ -84,9 +83,8 @@ private:
lua_State* luaState = nullptr;
//server tables
std::map<unsigned int, Client> clientMap;
std::map<unsigned int, Entity> entityMap;
std::map<unsigned int, PlayerEntity> playerMap;
std::map<unsigned int, ClientEntry> clientMap;
std::map<unsigned int, PlayerEntry> playerMap;
//maps
//TODO: I need to handle multiple map objects