]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/HeroStatus.h
Merge branch 'menus'
[l2e.git] / src / menu / HeroStatus.h
index 12fe62f05cde32c0ee68e0cbf2c97cd3746f650f..27c048ec76807cc63bf8100e90de473d00a53cff 100644 (file)
@@ -24,20 +24,18 @@ public:
 
 public:
        void SetResources(const Resources *r) { res = r; }
-       void SetHero(const common::Hero *h) { hero = h; }
-       void SetPosition(const geometry::Vector<int> &p) { position = p; }
+       void SetHero(common::Hero **p, int h) { party = p; hero = h; }
 
        int Width() const;
        int Height() const;
        geometry::Vector<int> Size() const { return geometry::Vector<int>(Width(), Height()); }
-       const geometry::Vector<int> &Position() const { return position; }
 
        void Render(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
 
 private:
        const Resources *res;
-       const common::Hero *hero;
-       geometry::Vector<int> position;
+       common::Hero **party;
+       int hero;
 
 };