diff options
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 9bf5417fa..36c78f53b 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -195,6 +195,18 @@ class BeingInfo final void setAvatarId(const uint16_t id) { mAvatarId = id; } + int getWidth() const + { return mWidth; } + + int getHeight() const + { return mHeight; } + + void setWidth(const int n) + { mWidth = n; } + + void setHeight(const int n) + { mHeight = n; } + static void init(); static void clear(); @@ -211,11 +223,13 @@ class BeingInfo final int mTargetOffsetX; int mTargetOffsetY; int mMaxHP; - bool mStaticMaxHP; - bool mTargetSelection; int mSortOffsetY; int mDeadSortOffsetY; uint16_t mAvatarId; + int mWidth; + int mHeight; + bool mStaticMaxHP; + bool mTargetSelection; }; typedef std::map<int, BeingInfo*> BeingInfos; |