]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Monster.h
added forwarding headers
[l2e.git] / src / battle / Monster.h
index c5c75caa1ad2d5bd83f4db0d52ed27a81a3d4555..3497c04b4ddd184617604fb9f584c045e84e84b4 100644 (file)
 
 #include "AttackChoice.h"
 #include "Stats.h"
+#include "../common/fwd.h"
 #include "../geometry/Vector.h"
 #include "../graphics/Animation.h"
+#include "../graphics/fwd.h"
 
 #include <SDL.h>
 
-namespace common { class Item; }
-namespace graphics {
-       class Sprite;
-}
-
 namespace battle {
 
 class Monster {
@@ -85,6 +82,7 @@ public:
        const AttackChoice &GetAttackChoice() const { return attackChoice; }
 
        static void CreateTypeDescription();
+       static void Construct(void *);
 
 private:
        const char *name;
@@ -103,15 +101,15 @@ private:
 
        AttackChoice attackChoice;
 
-       Uint16 maxHealth, health;
-       Uint16 maxMana, mana;
+       int maxHealth, health;
+       int maxMana, mana;
 
        Stats stats;
 
-       Uint16 expReward, goldReward;
+       int expReward, goldReward;
 
-       Uint8 level;
-       Uint8 dropChance;
+       int level;
+       int dropChance;
 
 };