Implemented client-side HandleCharacterCreate

This commit is contained in:
Kayne Ruse
2014-12-18 09:14:11 +11:00
parent ae046977f0
commit 015631a73d
6 changed files with 62 additions and 21 deletions
+6
View File
@@ -44,6 +44,8 @@
//client
#include "base_scene.hpp"
#include "base_character.hpp"
#include "base_monster.hpp"
//STL
#include <map>
@@ -99,6 +101,7 @@ protected:
//indexes
int& clientIndex;
int& accountIndex;
int characterIndex = -1;
//graphics
Image buttonImage;
@@ -120,6 +123,9 @@ protected:
int marginX = 0, marginY = 0;
} camera;
//entities
std::map<int, BaseCharacter> characterMap;
std::map<int, BaseMonster> monsterMap;
//heartbeat
//TODO: Heartbeat needs it's own utility