X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FLevelUp.h;fp=src%2Fcommon%2FLevelUp.h;h=9637eeeb35219896b367a549b07227e407f2f639;hb=b9e715649b41cb69ea1b2d2a588522541eb87b46;hp=0000000000000000000000000000000000000000;hpb=3d69f521b593457304b282e5f23e36ab165288b6;p=l2e.git diff --git a/src/common/LevelUp.h b/src/common/LevelUp.h new file mode 100644 index 0000000..9637eee --- /dev/null +++ b/src/common/LevelUp.h @@ -0,0 +1,35 @@ +#ifndef COMMON_LEVELUP_H_ +#define COMMON_LEVELUP_H_ + +#include "Stats.h" + + +namespace common { + +struct LevelUp +: public Stats { + +public: + static const int TYPE_ID = 309; + +public: + LevelUp(); + +public: + int Experience() const { return experience; } + int MaxHealth() const { return maxHealth; } + int MaxMagic() const { return maxMagic; } + + static void CreateTypeDescription(); + static void Construct(void *); + +private: + int experience; + int maxHealth; + int maxMagic; + +}; + +} + +#endif