diff options
Autocommit at 05.05.2022 @ 13:08
1 files changed, 12 insertions, 0 deletions
| -rw-r--r-- | src/Venue/Venue.cpp | 12 |
diff --git a/src/Venue/Venue.cpp b/src/Venue/Venue.cpp index 4206afe..380bb69 100644 --- a/src/Venue/Venue.cpp +++ b/src/Venue/Venue.cpp @@ -4,3 +4,15 @@ Venue::Venue(const Hall* halls, unsigned hallCount, const EventSystem& es) { this->halls = List<Hall>(halls, hallCount); this->es = es; } + +bool Venue::hallExists(const Hall& hall) const { + return this->halls.contain(hall); +} + +const List<Hall>& Venue::get_halls() const { + return this->halls; +} + +const EventSystem& Venue::get_es() const { + return this->es; +} |
