Update Class Diagram authored by Kovács Gergely Zsolt's avatar Kovács Gergely Zsolt
...@@ -30,7 +30,7 @@ package Model.Common { ...@@ -30,7 +30,7 @@ package Model.Common {
} }
Simulation --|> Singleton Simulation --|> Singleton
Simulation --> Park Simulation --> Park
Simulation ---> MaintenanceDispatcher Simulation --> MaintenanceDispatcher
class Park { class Park {
- balance : int - balance : int
...@@ -40,6 +40,7 @@ package Model.Common { ...@@ -40,6 +40,7 @@ package Model.Common {
+ GetBalance() : int + GetBalance() : int
+ GetEntryFee() : int + GetEntryFee() : int
+ GetBuildings() : Building[] + GetBuildings() : Building[]
+ GetEntrance() : Building
+ ModifyBalance(int) + ModifyBalance(int)
+ AddBuilding(Building) + AddBuilding(Building)
+ SetEntryFee(int) + SetEntryFee(int)
...@@ -192,7 +193,7 @@ package Model.People { ...@@ -192,7 +193,7 @@ package Model.People {
+ GetProperties() {override} + GetProperties() {override}
} }
MaintenanceGuy --|> Staff MaintenanceGuy --|> Staff
MaintenanceDispatcher *-- "-maintainers\n*" MaintenanceGuy MaintenanceDispatcher *--- "-maintainers\n*\n" MaintenanceGuy
} }
... ...
......