diff options
Autocommit at 05.05.2022 @ 13:43
1 files changed, 4 insertions, 0 deletions
| -rw-r--r-- | src/Venue/Venue.cpp | 4 |
diff --git a/src/Venue/Venue.cpp b/src/Venue/Venue.cpp index e33af61..50fc9c1 100644 --- a/src/Venue/Venue.cpp +++ b/src/Venue/Venue.cpp @@ -7,6 +7,10 @@ Venue::Venue(const Hall* halls, unsigned hallCount, const EventSystem& es) { this->es = es; } +bool Venue::hallExists(unsigned hallIndex) const { + return hallIndex < halls.get_count(); +} + bool Venue::hallExists(const Hall& hall) const { return this->halls.contain(hall); } |
