From 27e25fa55f21842d819072bc5650a61088a5511a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 2 May 2022 20:20:10 +0300 Subject: Autocommit at 02.05.2022 @ 20:20 --- src/Venue/Hall.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/Venue/Hall.cpp (limited to 'src/Venue/Hall.cpp') 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; +} -- cgit v1.3.1-26-gb76a