X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FHero.h;fp=src%2Fcommon%2FHero.h;h=6c03eee0ae4cc7f06adb9b251979599b342354da;hb=ec0841bce8db9b1419dfbbb03ceff9c8502ab755;hp=b12e8f5b50c8e3ae719814d42c638f08ed057c0d;hpb=317100aa5878503dad034a1e1eb734d1e952f842;p=l2e.git diff --git a/src/common/Hero.h b/src/common/Hero.h index b12e8f5..6c03eee 100644 --- a/src/common/Hero.h +++ b/src/common/Hero.h @@ -47,6 +47,7 @@ public: const Stats &GetStats() const { return stats; } Uint8 Level() const { return level; } + int Experience() const { return experience; } Item *Weapon() { return weapon; } Item *Armor() { return armor; } @@ -104,6 +105,7 @@ private: Stats stats; int level; + int experience; Item *weapon; Item *armor;