Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / Ticket.cpp
diff options
context:
space:
mode:
1 files changed, 16 insertions, 0 deletions
-rw-r--r--src/EventSystem/Ticket.cpp16
diff --git a/src/EventSystem/Ticket.cpp b/src/EventSystem/Ticket.cpp
new file mode 100644
index 0000000..b616888
--- /dev/null
+++ b/src/EventSystem/Ticket.cpp
@@ -0,0 +1,16 @@
+#include "Ticket.h"
+
+Ticket::Ticket() : Ticket(0, 0) {}
+
+Ticket::Ticket(unsigned row, unsigned seat) {
+ this->row = row;
+ this->seat = seat;
+}
+
+unsigned Ticket::get_row() const {
+ return row;
+}
+
+unsigned Ticket::get_seat() const {
+ return seat;
+}