diff options
Diffstat (limited to 'src/map.cpp')
| -rw-r--r-- | src/map.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
| diff --git a/src/map.cpp b/src/map.cpp index a5ecbdd..7a3de78 100644 --- a/src/map.cpp +++ b/src/map.cpp | |||
| @@ -153,6 +153,12 @@ Map::Map(std::string_view name) : name_(name) { | |||
| 153 | } | 153 | } |
| 154 | } | 154 | } |
| 155 | } | 155 | } |
| 156 | |||
| 157 | for (const tmx::Property& property : mapfile.getProperties()) { | ||
| 158 | if (property.getName() == "music") { | ||
| 159 | music_ = property.getStringValue(); | ||
| 160 | } | ||
| 161 | } | ||
| 156 | } | 162 | } |
| 157 | 163 | ||
| 158 | bool Map::isBlocked(int x, int y) const { | 164 | bool Map::isBlocked(int x, int y) const { |
