Add remaining buildings and people to view
Additions to view:
- New placeable buildings:
- Queue pavement
- Cleaning building
- Maintenance building
- Cleaners and maintainers are now displayed in the view. (with different models)
Changes in model:
-
StaffBuilding
is now an abstract generic class with two subclasses:CleaningBuilding
MaintenanceBuilding
- In order to unify the different generic subtypes, I introduced a new interface:
IStaffBuilding
At the moment it just inherits fromIBuilding
and adds nothing new. - Accompanying blueprints are added for
CleaningBuilding
andMaintenanceBuilding
.
They return true inCanPlace
so that the new buildings can be tested once their logic is implemented. - In
Park
I had to change the list containing all staffbuildings fromList<StaffBuilding>
toList<IStaffBuilding>
.
Edited by Karikó Csongor Csanád