summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h index a311be1..9467d75 100644 --- a/src/map.h +++ b/src/map.h
@@ -52,7 +52,9 @@ public:
52 52
53 const vec2i& getTileSize() const { return tileSize_; } 53 const vec2i& getTileSize() const { return tileSize_; }
54 54
55 const std::vector<std::vector<Tile>>& getLayers() const { return layers_; } 55 const std::vector<std::vector<Tile>>& getUpperLayers() const { return upperLayers_; }
56
57 const std::vector<std::vector<Tile>>& getLowerLayers() const { return lowerLayers_; }
56 58
57 const std::string& getTilesetFilename() const { return tilesetFilename_; } 59 const std::string& getTilesetFilename() const { return tilesetFilename_; }
58 60
@@ -75,7 +77,8 @@ private:
75 std::string name_; 77 std::string name_;
76 vec2i mapSize_; 78 vec2i mapSize_;
77 vec2i tileSize_; 79 vec2i tileSize_;
78 std::vector<std::vector<Tile>> layers_; 80 std::vector<std::vector<Tile>> upperLayers_;
81 std::vector<std::vector<Tile>> lowerLayers_;
79 std::string tilesetFilename_; 82 std::string tilesetFilename_;
80 int tilesetColumns_; 83 int tilesetColumns_;
81 std::vector<Prototype> prototypes_; 84 std::vector<Prototype> prototypes_;