X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FCapsule.h;h=a1afc1b2c012ddd1b0647f1ff185ecffdc46e3d3;hb=8f4cb4e8ad954ba73fb78a030c969c933a7ed60c;hp=5aa5f344fd6c09711f2c53f07cdc27507026e9f1;hpb=e8283bf94624b2f184d50dc1401bf45225c529d6;p=l2e.git diff --git a/src/common/Capsule.h b/src/common/Capsule.h index 5aa5f34..a1afc1b 100644 --- a/src/common/Capsule.h +++ b/src/common/Capsule.h @@ -9,9 +9,11 @@ namespace graphics { class Sprite; } +#include "Hero.h" #include "../common/Stats.h" #include "../math/Vector.h" +#include #include namespace common { @@ -65,6 +67,8 @@ public: int Experience() const { return experience; } int NextLevel() const; + void AddExperience(int, std::vector &); + graphics::Sprite *BattleSprite(); const graphics::Sprite *BattleSprite() const; graphics::Animation *MeleeAnimation();