X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FHeroStatus.h;h=03c7811adecf79ec7368aa8bb45e1c462f5eb5c9;hb=59c735f03e5959ab6a32afac1603f1e371786ed7;hp=2888b1555bb7d4f5f521c36d5bc446feec719090;hpb=243cb7d922fe888be8d18241de138ad5949de430;p=l2e.git diff --git a/src/menu/HeroStatus.h b/src/menu/HeroStatus.h index 2888b15..03c7811 100644 --- a/src/menu/HeroStatus.h +++ b/src/menu/HeroStatus.h @@ -1,10 +1,3 @@ -/* - * HeroStatus.h - * - * Created on: Oct 21, 2012 - * Author: holy - */ - #ifndef MENU_HEROSTATUS_H_ #define MENU_HEROSTATUS_H_ @@ -24,7 +17,7 @@ public: public: void SetResources(const Resources *r) { res = r; } - void SetHero(const common::Hero *h) { hero = h; } + void SetHero(common::Hero **p, int h) { party = p; hero = h; } int Width() const; int Height() const; @@ -34,7 +27,8 @@ public: private: const Resources *res; - const common::Hero *hero; + common::Hero **party; + int hero; };