diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-12 00:33:19 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-12 00:33:19 -0500 |
commit | 5ecd0f428dd8292a17c5013c525a4f5d3967acb8 (patch) | |
tree | 0068b66a1183f822909f115a142fae3869a3b09f /src/map.h | |
parent | 19be2ac58b09c5240a32e6a4f41cd9f6cda03d07 (diff) | |
download | tanetane-5ecd0f428dd8292a17c5013c525a4f5d3967acb8.tar.gz tanetane-5ecd0f428dd8292a17c5013c525a4f5d3967acb8.tar.bz2 tanetane-5ecd0f428dd8292a17c5013c525a4f5d3967acb8.zip |
Scripts are organised per-map now
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 6 |
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 { | |||
35 | class Map { | 35 | class Map { |
36 | public: | 36 | public: |
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 | ||
62 | private: | 62 | private: |
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_; |