summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index d03570d8..ae0b07a8 100644
--- a/src/map.h
+++ b/src/map.h
@@ -93,6 +93,8 @@ class MapLayer
~MapLayer();
+ int getWidth() const { return mWidth; }
+
/**
* Set tile image, with x and y in layer coordinates.
*/