diff options
Diffstat (limited to 'pokemod/Map.cpp')
-rw-r--r-- | pokemod/Map.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pokemod/Map.cpp b/pokemod/Map.cpp index 958f43f7..13b8ffd2 100644 --- a/pokemod/Map.cpp +++ b/pokemod/Map.cpp @@ -407,6 +407,16 @@ void Map::deleteRow(int y) tiles.deleteRow(y); } +const Matrix<int>& Map::getMap() const +{ + return tiles; +} + +Matrix<int>& Map::getMap() +{ + return tiles; +} + int Map::getTile(int x, int y) const { return tiles(x, y); |