]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/HeroStatus.h
removed stupid file headers that eclipse put in
[l2e.git] / src / menu / HeroStatus.h
index 12fe62f05cde32c0ee68e0cbf2c97cd3746f650f..03c7811adecf79ec7368aa8bb45e1c462f5eb5c9 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * HeroStatus.h
- *
- *  Created on: Oct 21, 2012
- *      Author: holy
- */
-
 #ifndef MENU_HEROSTATUS_H_
 #define MENU_HEROSTATUS_H_
 
@@ -24,20 +17,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;
 
 };