X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FHeroStatus.h;h=03c7811adecf79ec7368aa8bb45e1c462f5eb5c9;hb=6dff93b1a6e9b727dbe26747456f4b23efca86da;hp=1b88da2229565a11ae3517906860e3547acf872a;hpb=57a75f13e98f4b5d311c2d3b9d9ff637120c5ee2;p=l2e.git diff --git a/src/menu/HeroStatus.h b/src/menu/HeroStatus.h index 1b88da2..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,8 +17,7 @@ public: public: void SetResources(const Resources *r) { res = r; } - void SetHero(const common::Hero *h) { hero = h; } - void SetPosition(const geometry::Vector &p) { position = p; } + void SetHero(common::Hero **p, int h) { party = p; hero = h; } int Width() const; int Height() const; @@ -35,8 +27,8 @@ public: private: const Resources *res; - const common::Hero *hero; - geometry::Vector position; + common::Hero **party; + int hero; };