]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Capsule.h
moved upgrade process to battle class
[l2e.git] / src / common / Capsule.h
index a1afc1b2c012ddd1b0647f1ff185ecffdc46e3d3..1e2a6311f07fe1f27ad871a527f24567f575fa21 100644 (file)
@@ -3,13 +3,13 @@
 
 namespace common {
        class Item;
+       class Upgrade;
 }
 namespace graphics {
        class Animation;
        class Sprite;
 }
 
-#include "Hero.h"
 #include "../common/Stats.h"
 #include "../math/Vector.h"
 
@@ -67,7 +67,7 @@ public:
        int Experience() const { return experience; }
        int NextLevel() const;
 
-       void AddExperience(int, std::vector<Hero::UpgradeInfo> &);
+       void AddExperience(int, std::vector<Upgrade> &);
 
        graphics::Sprite *BattleSprite();
        const graphics::Sprite *BattleSprite() const;