]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Caster.h
moved Hero and Stats to common
[l2e.git] / src / loader / Caster.h
index 2718fc08f8327bcf7c9966ae145e0acefdc8a6b1..a3042accef0af000642fd4e8e0da1068b507c4d6 100644 (file)
@@ -9,21 +9,11 @@
 #define LOADER_CASTER_H_
 
 #include "Interpreter.h"
+#include "../battle/fwd.h"
+#include "../common/fwd.h"
 
 #include <string>
 
-namespace battle {
-       class Hero;
-       class Monster;
-       class PartyLayout;
-       class Resources;
-}
-
-namespace common {
-       class Item;
-       class Spell;
-}
-
 namespace loader {
 
 class Caster {
@@ -37,7 +27,7 @@ private:
 
 public:
        battle::Resources *GetBattleResources(const std::string &identifier);
-       battle::Hero *GetHero(const std::string &identifier);
+       common::Hero *GetHero(const std::string &identifier);
        common::Item *GetItem(const std::string &identifier);
        battle::Monster *GetMonster(const std::string &identifier);
        battle::PartyLayout *GetPartyLayout(const std::string &identifier);