Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
2 files changed, 38 insertions, 0 deletions
-rw-r--r--src/EventSystem/EventSystem.h8
-rw-r--r--src/Hall.cpp30
diff --git a/src/EventSystem/EventSystem.h b/src/EventSystem/EventSystem.h
new file mode 100644
index 0000000..525c199
--- /dev/null
+++ b/src/EventSystem/EventSystem.h
@@ -0,0 +1,8 @@
+#ifndef HEADER_EVENTSYSTEM
+#define HEADER_EVENTSYSTEM
+
+class EventSystem {
+
+};
+
+#endif
diff --git a/src/Hall.cpp b/src/Hall.cpp
new file mode 100644
index 0000000..b542c9b
--- /dev/null
+++ b/src/Hall.cpp
@@ -0,0 +1,30 @@
+#include "Hall.h"
+
+Hall::Hall() : Hall(0, 0, 0) {}
+
+Hall::Hall(int index, unsigned rowCount, unsigned seatsPerRow) {
+ this->index = index;
+ this->rowCount = rowCount;
+ this->seatsPerRow = seatsPerRow;
+}
+
+int Hall::get_index() const {
+ return index;
+}
+void Hall::set_index(int index) {
+ this->index = index;
+}
+
+unsigned Hall::get_rowCount() const {
+ return rowCount;
+}
+void Hall::set_rowCount(unsigned rowCount) {
+ this->rowCount = rowCount;
+}
+
+unsigned Hall::get_seatsPerRow() const {
+ return seatsPerRow;
+}
+void Hall::set_seatsPerRow(unsigned seatsPerRow) {
+ this->seatsPerRow = seatsPerRow;
+}