From 5ecd0f428dd8292a17c5013c525a4f5d3967acb8 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 12 Feb 2021 00:33:19 -0500 Subject: Scripts are organised per-map now --- src/map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map.h') 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 { class Map { public: - explicit Map(std::string_view filename); + explicit Map(std::string_view name); - const std::string& getName() const { return filename_; } + const std::string& getName() const { return name_; } const vec2i& getMapSize() const { return mapSize_; } @@ -61,7 +61,7 @@ public: private: - std::string filename_; + std::string name_; vec2i mapSize_; vec2i tileSize_; std::vector> layers_; -- cgit 1.4.1