diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h index 1031996..2f8ec1a 100644 --- a/src/map.h +++ b/src/map.h | |||
@@ -12,6 +12,7 @@ struct Tile { | |||
12 | unsigned int id = 0; | 12 | unsigned int id = 0; |
13 | bool flipHorizontal = false; | 13 | bool flipHorizontal = false; |
14 | bool flipVertical = false; | 14 | bool flipVertical = false; |
15 | bool blocked = false; | ||
15 | }; | 16 | }; |
16 | 17 | ||
17 | class Map { | 18 | class Map { |
@@ -29,6 +30,8 @@ public: | |||
29 | 30 | ||
30 | int getTilesetColumns() const { return tilesetColumns_; } | 31 | int getTilesetColumns() const { return tilesetColumns_; } |
31 | 32 | ||
33 | bool isBlocked(int x, int y) const; | ||
34 | |||
32 | private: | 35 | private: |
33 | 36 | ||
34 | vec2i mapSize_; | 37 | vec2i mapSize_; |