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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map.h b/src/map.h index adf9b80..2d448e4 100644 --- a/src/map.h +++ b/src/map.h
@@ -35,9 +35,9 @@ struct Trigger {
35class Map { 35class Map {
36public: 36public:
37 37
38 explicit Map(std::string_view filename); 38 explicit Map(std::string_view name);
39 39
40 const std::string& getName() const { return filename_; } 40 const std::string& getName() const { return name_; }
41 41
42 const vec2i& getMapSize() const { return mapSize_; } 42 const vec2i& getMapSize() const { return mapSize_; }
43 43
@@ -61,7 +61,7 @@ public:
61 61
62private: 62private:
63 63
64 std::string filename_; 64 std::string name_;
65 vec2i mapSize_; 65 vec2i mapSize_;
66 vec2i tileSize_; 66 vec2i tileSize_;
67 std::vector<std::vector<Tile>> layers_; 67 std::vector<std::vector<Tile>> layers_;