summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-03-13 10:01:39 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2021-03-13 15:34:50 -0500
commit37bbad70090071a473a04583e373491557906699 (patch)
treea7bffa340c8222d7447a1fb3bfb1d8dd2921918d /src/map.h
parentf9dd0fbabe5348fcd9841978cdd9d3a5824a5dec (diff)
downloadtanetane-37bbad70090071a473a04583e373491557906699.tar.gz
tanetane-37bbad70090071a473a04583e373491557906699.tar.bz2
tanetane-37bbad70090071a473a04583e373491557906699.zip
Added option to exit area from pause menu on supported maps
#7
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h index 7398d66..7300e76 100644 --- a/src/map.h +++ b/src/map.h
@@ -89,6 +89,8 @@ public:
89 89
90 const std::string& getMaskZone() const { return maskZone_; } 90 const std::string& getMaskZone() const { return maskZone_; }
91 91
92 bool hasExitArea() const { return hasExitArea_; }
93
92private: 94private:
93 95
94 std::string name_; 96 std::string name_;
@@ -104,6 +106,7 @@ private:
104 std::map<std::string, Zone> zones_; 106 std::map<std::string, Zone> zones_;
105 std::string music_; 107 std::string music_;
106 std::string maskZone_; 108 std::string maskZone_;
109 bool hasExitArea_ = false;
107}; 110};
108 111
109#endif /* end of include guard: MAP_H_D95D6D47 */ 112#endif /* end of include guard: MAP_H_D95D6D47 */