]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/HeroStatus.h
removed useless comments
[l2e.git] / src / menu / HeroStatus.h
index 2888b1555bb7d4f5f521c36d5bc446feec719090..726375f72f0fd9d744cf30ad2fc92ee43acf56ec 100644 (file)
@@ -1,16 +1,14 @@
-/*
- * HeroStatus.h
- *
- *  Created on: Oct 21, 2012
- *      Author: holy
- */
-
 #ifndef MENU_HEROSTATUS_H_
 #define MENU_HEROSTATUS_H_
 
-#include "fwd.h"
-#include "../common/fwd.h"
-#include "../geometry/Vector.h"
+namespace common {
+       class Hero;
+}
+namespace menu {
+       struct Resources;
+}
+
+#include "../math/Vector.h"
 
 #include <SDL.h>
 
@@ -24,20 +22,21 @@ 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;
-       geometry::Vector<int> Size() const { return geometry::Vector<int>(Width(), Height()); }
+       math::Vector<int> Size() const { return math::Vector<int>(Width(), Height()); }
 
-       void Render(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void Render(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 private:
        const Resources *res;
-       const common::Hero *hero;
+       common::Hero **party;
+       int hero;
 
 };
 
 }
 
-#endif /* MENU_HEROSTATUS_H_ */
+#endif