summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-05 14:31:39 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-05 14:31:39 +0000
commit9770f22a2846c68dbeea0780d595ad49ea6c490d (patch)
tree5b92d8fd40921b63feb611835279c9d9288deb05 /src/map.cpp
parent46129aab7f641016c3658c3a048a3939ae2214e9 (diff)
downloadmana-9770f22a2846c68dbeea0780d595ad49ea6c490d.tar.gz
mana-9770f22a2846c68dbeea0780d595ad49ea6c490d.tar.bz2
mana-9770f22a2846c68dbeea0780d595ad49ea6c490d.tar.xz
mana-9770f22a2846c68dbeea0780d595ad49ea6c490d.zip
Supposed to make it more readable, but I don't think really worked.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp10
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;
+}