diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-06 22:13:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-06 22:13:39 +0000 |
commit | 87b7dec3f5978893d897e1d61ddaf0e793a33b05 (patch) | |
tree | 4c96f6b1f6e164bc80b9db511a7314564d90a3fb /src/map.h | |
parent | 819c303db467086d714ad663b285b44cde6329cf (diff) | |
download | mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.tar.gz mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.tar.bz2 mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.tar.xz mana-87b7dec3f5978893d897e1d61ddaf0e793a33b05.zip |
Added setSize function to Map.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |