summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-12 00:33:19 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-12 00:33:19 -0500
commit5ecd0f428dd8292a17c5013c525a4f5d3967acb8 (patch)
tree0068b66a1183f822909f115a142fae3869a3b09f /src/map.h
parent19be2ac58b09c5240a32e6a4f41cd9f6cda03d07 (diff)
downloadtanetane-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.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_;