X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FMonster.h;h=8338cb18e59f8e6836c0fb6c617e280ff9f74a2f;hb=9718062e6ed305d9f8f1674ff172079688e78088;hp=232da8fae99bd9f705229bc5684400eb0a49b78d;hpb=cded7d136b41e22f363ec702f2288491c0006e3a;p=l2e.git diff --git a/src/battle/Monster.h b/src/battle/Monster.h index 232da8f..8338cb1 100644 --- a/src/battle/Monster.h +++ b/src/battle/Monster.h @@ -10,6 +10,7 @@ #include "AttackChoice.h" #include "Stats.h" +#include "../geometry/Point.h" #include "../graphics/Animation.h" #include @@ -61,6 +62,9 @@ public: const graphics::Animation *AttackAnimation() const { return attackAnimation; } const graphics::Animation *SpellAnimation() const { return spellAnimation; } + geometry::Point &Position() { return position; } + const geometry::Point &Position() const { return position; } + // temporary setters until loader is implemented public: void SetName(const char *n) { name = n; } @@ -93,6 +97,8 @@ private: graphics::AnimationRunner animation; + geometry::Point position; + AttackChoice attackChoice; Uint16 maxHealth, health;