diff options
Diffstat (limited to 'Tile.h')
-rw-r--r-- | Tile.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ #include "TileData.h" #include "Color.h" #include "TileBehavior.h" +#include "XY.h" class Museum; @@ -21,7 +22,7 @@ public: void set_data(TileData & data); void set_type(const std::string & type); void update(); - Tile * get_neighbor(int dx, int dy); + Tile * get_neighbor(const XY & offset); private: Museum & museum; |