summary refs log tree commit diff stats
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp index 8d0ada6..32203e5 100644 --- a/src/map.cpp +++ b/src/map.cpp
@@ -111,6 +111,14 @@ Map::Map(std::string_view name) : name_(name) {
111 p.enclosureZone = property.getStringValue(); 111 p.enclosureZone = property.getStringValue();
112 } else if (property.getName() == "movementSpeed") { 112 } else if (property.getName() == "movementSpeed") {
113 p.movementSpeed = property.getIntValue(); 113 p.movementSpeed = property.getIntValue();
114 } else if (property.getName() == "mirror") {
115 if (property.getStringValue() == "vertical") {
116 p.mirrorType = MirrorType::Vertical;
117 }
118 } else if (property.getName() == "mirrorAxis") {
119 p.mirrorAxis = property.getIntValue();
120 } else if (property.getName() == "mirrorSprite") {
121 p.spriteToMirror = property.getStringValue();
114 } 122 }
115 } 123 }
116 124