Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Venue / Hall.cpp
diff options
context:
space:
mode:
Commit27e25fa55f21842d819072bc5650a61088a5511a (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 20:20:10 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 20:20:10 +0300
Files15f2f2690e1a903dc39445d365d090697160d0e2 /src/Venue/Hall.cpp
FMI-OOP-P1_TicketSystem-27e25fa55f21842d819072bc5650a61088a5511a.tar
FMI-OOP-P1_TicketSystem-27e25fa55f21842d819072bc5650a61088a5511a.tar.gz
FMI-OOP-P1_TicketSystem-27e25fa55f21842d819072bc5650a61088a5511a.zip
Parent5a562ba407ffe0a9af3cd7c22f777a2707362684 (diff)
Autocommit at 02.05.2022 @ 20:20
1 files changed, 30 insertions, 0 deletions
-rw-r--r--src/Venue/Hall.cpp30
diff --git a/src/Venue/Hall.cpp b/src/Venue/Hall.cpp
new file mode 100644
index 0000000..b542c9b
--- /dev/null
+++ b/src/Venue/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;
+}