Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / Event.cpp
diff options
context:
space:
mode:
1 files changed, 8 insertions, 0 deletions
-rw-r--r--src/EventSystem/Event.cpp8
diff --git a/src/EventSystem/Event.cpp b/src/EventSystem/Event.cpp
index f6c63a1..9bab15b 100644
--- a/src/EventSystem/Event.cpp
+++ b/src/EventSystem/Event.cpp
@@ -10,6 +10,14 @@ Event::Event(const Hall* hall, String name, Date date) : tickets(), reservations
this->date = date;
}
+const OrderedList<Ticket>& Event::get_tickets() const {
+ return tickets;
+}
+
+const OrderedList<Reservation>& Event::get_reservations() const {
+ return reservations;
+}
+
const Hall& Event::get_hall() const {
return *hall;
}