]> git.localhorst.tv Git - l2e.git/blob - src/common/LevelUp.h
put stat increments in level ladder
[l2e.git] / src / common / LevelUp.h
1 #ifndef COMMON_LEVELUP_H_
2 #define COMMON_LEVELUP_H_
3
4 #include "Stats.h"
5
6
7 namespace common {
8
9 struct LevelUp
10 : public Stats {
11
12 public:
13         static const int TYPE_ID = 309;
14
15 public:
16         LevelUp();
17
18 public:
19         int Experience() const { return experience; }
20         int MaxHealth() const { return maxHealth; }
21         int MaxMagic() const { return maxMagic; }
22
23         static void CreateTypeDescription();
24         static void Construct(void *);
25
26 private:
27         int experience;
28         int maxHealth;
29         int maxMagic;
30
31 };
32
33 }
34
35 #endif