summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 957b3b0a..4a131e37 100644
--- a/src/map.h
+++ b/src/map.h
@@ -143,12 +143,23 @@ class Map
int getHeight();
/**
+ * Returns the tile width of this map.
+ */
+ int getTileWidth();
+
+ /**
+ * Returns the tile height used by this map.
+ */
+ int getTileHeight();
+
+ /**
* Find a path from one location to the next.
*/
PATH_NODE *findPath(int startX, int startY, int destX, int destY);
private:
int width, height;
+ int tileWidth, tileHeight;
Tile *tiles;
// Pathfinding members