School Commit Init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include "building.h"
|
||||
|
||||
class Block : public Building{
|
||||
private:
|
||||
int totalApartments;
|
||||
int occupiedApartments;
|
||||
public:
|
||||
Block(int constructionYear, int totalApartments, int occupiedApartments);
|
||||
~Block()=default;
|
||||
bool mustBeRestored() override;
|
||||
bool canBeDemolished() override;
|
||||
std::string toString() override;
|
||||
};
|
||||
Reference in New Issue
Block a user