diff options
Diffstat (limited to 'src/game-server/map.h')
-rw-r--r-- | src/game-server/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game-server/map.h b/src/game-server/map.h index f1180a77..eca36863 100644 --- a/src/game-server/map.h +++ b/src/game-server/map.h @@ -92,6 +92,9 @@ class MapObject const Rectangle &getBounds() const { return mBounds; } + int getX() const { return mBounds.x; } + int getY() const { return mBounds.y; } + private: Rectangle mBounds; std::string mName; |