]> 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 1b88da2229565a11ae3517906860e3547acf872a..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,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<int> &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<int> position;
+       common::Hero **party;
+       int hero;
 
 };