diff options
Diffstat (limited to 'src/model/Map.hpp')
-rw-r--r-- | src/model/Map.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/Map.hpp b/src/model/Map.hpp index b8a8e18..ed58fd6 100644 --- a/src/model/Map.hpp +++ b/src/model/Map.hpp @@ -43,7 +43,7 @@ namespace Model { class _Map { protected: - std::vector<std::string> tileset; + std::vector<std::pair<std::string, int>> tileset; size_t width, height; std::vector<CollisionType> collision; @@ -160,11 +160,11 @@ public: entityStates = std::move(other.entityStates); } - std::vector<std::string> & getTileset() { + std::vector<std::pair<std::string, int>> & getTileset() { return tileset; } - const std::vector<std::string> & getTileset() const { + const std::vector<std::pair<std::string, int>> & getTileset() const { return tileset; } |