summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h index a125082..1167290 100644 --- a/src/map.h +++ b/src/map.h
@@ -31,6 +31,7 @@ struct Prototype {
31 bool wander = false; 31 bool wander = false;
32 int movementSpeed = -1; 32 int movementSpeed = -1;
33 std::string enclosureZone; 33 std::string enclosureZone;
34 bool masked = false;
34}; 35};
35 36
36struct Trigger { 37struct Trigger {
@@ -82,6 +83,8 @@ public:
82 83
83 const std::string& getMusic() const { return music_; } 84 const std::string& getMusic() const { return music_; }
84 85
86 const std::string& getMaskZone() const { return maskZone_; }
87
85private: 88private:
86 89
87 std::string name_; 90 std::string name_;
@@ -96,6 +99,7 @@ private:
96 std::vector<Trigger> triggers_; 99 std::vector<Trigger> triggers_;
97 std::map<std::string, Zone> zones_; 100 std::map<std::string, Zone> zones_;
98 std::string music_; 101 std::string music_;
102 std::string maskZone_;
99}; 103};
100 104
101#endif /* end of include guard: MAP_H_D95D6D47 */ 105#endif /* end of include guard: MAP_H_D95D6D47 */