diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp index 5a3efc1a..ef4e06eb 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -117,3 +117,13 @@ int Map::getTile(int x, int y, int layer) { } return id; } + +int Map::getWidth() +{ + return width; +} + +int Map::getHeight() +{ + return height; +} |