X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FCapsule.h;h=1e2a6311f07fe1f27ad871a527f24567f575fa21;hb=3d69f521b593457304b282e5f23e36ab165288b6;hp=d54394fdb7748ed3a56afc57e806565eb554b9ca;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/common/Capsule.h b/src/common/Capsule.h index d54394f..1e2a631 100644 --- a/src/common/Capsule.h +++ b/src/common/Capsule.h @@ -3,6 +3,7 @@ namespace common { class Item; + class Upgrade; } namespace graphics { class Animation; @@ -12,6 +13,7 @@ namespace graphics { #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(); @@ -126,4 +130,4 @@ private: } -#endif /* COMMON_CAPSULE_H_ */ +#endif