diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 5dbd845b..a1f59c91 100644 --- a/src/being.h +++ b/src/being.h @@ -350,6 +350,18 @@ class Being : public Sprite int getYOffset() const { return getOffset(UP, DOWN); } + /** + * Returns the horizontal size of the current base sprite of the being + */ + virtual int + getWidth() const; + + /** + * Returns the vertical size of the current base sprite of the being + */ + virtual int + getHeight() const; + std::auto_ptr<Equipment> mEquipment; /** |