X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FCapsule.h;h=60d70d2c6b6fd6c2bd01aa4101bc7f170e37d363;hb=7b3710c47f24e64e0d01378a4564730bcb2f6ef2;hp=a1afc1b2c012ddd1b0647f1ff185ecffdc46e3d3;hpb=8f4cb4e8ad954ba73fb78a030c969c933a7ed60c;p=l2e.git diff --git a/src/common/Capsule.h b/src/common/Capsule.h index a1afc1b..60d70d2 100644 --- a/src/common/Capsule.h +++ b/src/common/Capsule.h @@ -3,14 +3,15 @@ namespace common { class Item; + class LevelUp; + class Upgrade; } namespace graphics { class Animation; class Sprite; } -#include "Hero.h" -#include "../common/Stats.h" +#include "Stats.h" #include "../math/Vector.h" #include @@ -67,7 +68,7 @@ public: int Experience() const { return experience; } int NextLevel() const; - void AddExperience(int, std::vector &); + void AddExperience(int, std::vector &); graphics::Sprite *BattleSprite(); const graphics::Sprite *BattleSprite() const; @@ -120,7 +121,7 @@ private: int level; int experience; - int *levelLadder; + LevelUp *levelLadder; int numLevels; Class *classes;