Added LocalCharacter, removed entityIndex

This commit is contained in:
Kayne Ruse
2014-12-19 19:44:34 +11:00
parent 07af05712b
commit 2ae2c48819
10 changed files with 104 additions and 31 deletions
+2 -4
View File
@@ -39,13 +39,10 @@
//common
#include "frame_rate.hpp"
#include "base_character.hpp"
#include "base_monster.hpp"
//client
#include "base_scene.hpp"
#include "base_character.hpp"
#include "base_monster.hpp"
#include "local_character.hpp"
//STL
#include <map>
@@ -126,6 +123,7 @@ protected:
//entities
std::map<int, BaseCharacter> characterMap;
std::map<int, BaseMonster> monsterMap;
LocalCharacter* localCharacter = nullptr;
//heartbeat
//TODO: Heartbeat needs it's own utility