Encapsulated the Character class
This commit is contained in:
@@ -38,8 +38,7 @@
|
||||
#include "config_utility.hpp"
|
||||
#include "frame_rate.hpp"
|
||||
|
||||
#include "combat_data.hpp"
|
||||
#include "character_data.hpp"
|
||||
#include "character.hpp"
|
||||
|
||||
//client
|
||||
#include "base_scene.hpp"
|
||||
@@ -56,8 +55,7 @@ public:
|
||||
int* const argClientIndex,
|
||||
int* const argAccountIndex,
|
||||
int* const argCharacterIndex,
|
||||
std::map<int, CombatData>* argCombatMap,
|
||||
std::map<int, CharacterData>* argCharacterMap
|
||||
CharacterMap* argCharacterMap
|
||||
);
|
||||
~InWorld();
|
||||
|
||||
@@ -101,8 +99,7 @@ protected:
|
||||
int& clientIndex;
|
||||
int& accountIndex;
|
||||
int& characterIndex;
|
||||
std::map<int, CombatData>& combatMap;
|
||||
std::map<int, CharacterData>& characterMap;
|
||||
CharacterMap& characterMap;
|
||||
|
||||
//graphics
|
||||
Image buttonImage;
|
||||
@@ -124,7 +121,7 @@ protected:
|
||||
FrameRate fps;
|
||||
|
||||
//game
|
||||
CharacterData* localCharacter = nullptr;
|
||||
Character* localCharacter = nullptr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user