-/*
- * Hero.h
- *
- * Created on: Oct 7, 2012
- * Author: holy
- */
-
#ifndef COMMON_HERO_H_
#define COMMON_HERO_H_
-#include "fwd.h"
+namespace common {
+ class Item;
+ class Spell;
+}
+namespace graphics {
+ class Animation;
+ class Sprite;
+}
+
#include "Stats.h"
-#include "../graphics/fwd.h"
#include "../map/Entity.h"
#include <vector>
static void CreateTypeDescription();
static void Construct(void *);
-// temporary setters
public:
+ void SetMaxHealth(int h) { maxHealth = h; }
+ void SetHealth(int h) { health = h; }
void AddSpell(Spell *s) { spells.push_back(s); }
private:
}
-#endif /* COMMON_HERO_H_ */
+#endif