X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FHeroStatus.h;h=2888b1555bb7d4f5f521c36d5bc446feec719090;hb=243cb7d922fe888be8d18241de138ad5949de430;hp=12fe62f05cde32c0ee68e0cbf2c97cd3746f650f;hpb=bba1ac05e8c1854dc61bd737d228d9bc18bbb6ad;p=l2e.git diff --git a/src/menu/HeroStatus.h b/src/menu/HeroStatus.h index 12fe62f..2888b15 100644 --- a/src/menu/HeroStatus.h +++ b/src/menu/HeroStatus.h @@ -25,19 +25,16 @@ public: public: void SetResources(const Resources *r) { res = r; } void SetHero(const common::Hero *h) { hero = h; } - void SetPosition(const geometry::Vector &p) { position = p; } int Width() const; int Height() const; geometry::Vector Size() const { return geometry::Vector(Width(), Height()); } - const geometry::Vector &Position() const { return position; } void Render(SDL_Surface *screen, const geometry::Vector &offset) const; private: const Resources *res; const common::Hero *hero; - geometry::Vector position; };