From 6b54cc934218dcca4f85d6d5b68157cd72fb8202 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 13:08:15 +0300 Subject: Autocommit at 05.05.2022 @ 13:08 --- src/Venue/Venue.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/Venue/Venue.cpp') 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(halls, hallCount); this->es = es; } + +bool Venue::hallExists(const Hall& hall) const { + return this->halls.contain(hall); +} + +const List& Venue::get_halls() const { + return this->halls; +} + +const EventSystem& Venue::get_es() const { + return this->es; +} -- cgit v1.3.1-26-gb76a