X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FMonster.h;h=3497c04b4ddd184617604fb9f584c045e84e84b4;hb=2a1d9169e1f6c2dfe0f93ed40d5fb68d3da342af;hp=c5c75caa1ad2d5bd83f4db0d52ed27a81a3d4555;hpb=c45562467a2845a9f5b6942e8bf091251f5d16d6;p=l2e.git diff --git a/src/battle/Monster.h b/src/battle/Monster.h index c5c75ca..3497c04 100644 --- a/src/battle/Monster.h +++ b/src/battle/Monster.h @@ -10,16 +10,13 @@ #include "AttackChoice.h" #include "Stats.h" +#include "../common/fwd.h" #include "../geometry/Vector.h" #include "../graphics/Animation.h" +#include "../graphics/fwd.h" #include -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; };