diff options
1 files changed, 0 insertions, 32 deletions
| -rw-r--r-- | src/Venue/Venue.cpp | 32 |
diff --git a/src/Venue/Venue.cpp b/src/Venue/Venue.cpp deleted file mode 100644 index 01c6a95..0000000 --- a/src/Venue/Venue.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "Venue.h" - -Venue::Venue() : halls(), es() {} - -Venue::Venue(const Hall* halls, unsigned hallCount) : es() { - this->halls = List<Hall>(halls, hallCount); -} - -Venue::Venue(const Hall* halls, unsigned hallCount, const EventSystem& es) { - this->halls = List<Hall>(halls, hallCount); - this->es = es; -} - -bool Venue::hallExists(unsigned hallIndex) const { - return halls.contain(Hall(hallIndex, 0, 0)); -} - -bool Venue::hallExists(const Hall& hall) const { - return this->halls.contain(hall); -} - -const List<Hall>& Venue::get_halls() const { - return this->halls; -} - -const Hall& Venue::getHall(unsigned hallIndex) const { - return this->halls[this->halls.findIndex(Hall(hallIndex, 0, 0))]; -} - -EventSystem& Venue::get_es() { - return this->es; -} |
