summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 79a3ea36..be0364d7 100644
--- a/src/map.h
+++ b/src/map.h
@@ -64,6 +64,11 @@ class Map
bool load(char *mapFile);
/**
+ * Sets the size of the map. This will destroy any existing map data.
+ */
+ void setSize(int width, int height);
+
+ /**
* Set tile ID.
*/
void setTile(int x, int y, int layer, int id);