Update Class Diagram authored by Karikó Csongor Csanád's avatar Karikó Csongor Csanád
...@@ -563,14 +563,25 @@ class View.GameManager { ...@@ -563,14 +563,25 @@ class View.GameManager {
- targetFrameRate : int - targetFrameRate : int
- uiManager : UIManager - uiManager : UIManager
- buildings : BuildingConfig[] - buildings : BuildingConfig[]
- simulation : Model.Simulation - simulation : Simulation
- tickRoutine : IEnumerator
- visitorPrefab : GameObject - visitorPrefab : GameObject
- visitorPrefab : GameObject - cleanerPrefab: GameObject
- visitorPrefab : GameObject - maintainerPrefab : GameObject
- entrancePrefab : GameObject
- GetObjectBlueprints() : Model.IMapObjectBlueprint[]
- GetObjectBlueprints() : IMapObjectBlueprint[]
+ TickInterval<<get>> : float
+ TickCount<<get>> : long
+ PlayerBalance<<get>> int
+ Park<<get>> : IInspectable
+ SetSimulationSpeed(int) + SetSimulationSpeed(int)
+ MultiplySimulationSpeed(int)
- SpawnObject(GameObject, IDisplayable, IInspectable)
- OnDestroy()
+ Pause()
+ Unpause()
+ Tick() : IEnumerator + Tick() : IEnumerator
+ Start() // Called by unity + Start() // Called by unity
} }
...@@ -636,9 +647,27 @@ class View.BuildingSelector { ...@@ -636,9 +647,27 @@ class View.BuildingSelector {
class View.InspectorWindow { class View.InspectorWindow {
- inspectorPanel : RectTransform - contentRect : RectTransform
- generateView(Property) - windowTitle : TMP_Text
- stringFieldPrefab : GameObject
- editableStringFieldPrefab : GameObject
- buttonPrefab : GameObject
- invalidValueBackgroundColor : GameObject
- formatProvider : CultureInfo Color
- registeredEvents : List<InspectionElement>
- currentInspected : IInspectable
- Awake()
- ProcessProperties(IEnumerable<InspectionElement>)
- ProcessCommands(IEnumerable<Command>)
- CreateGenericTextProperty<T>(Property<T>, TMP_InputField.ContentType, string) // numeric data
- CreateStringProperty(Property<string>) // strings
- CreateGenericToStringProperty<T>(Property<T>) // ToString()
- CreateBoolProperty(Property<bool>)
- CreateCommandButton(Command)
+ Inspect(IInspectable) + Inspect(IInspectable)
+ Close()
} }
class View.Selectable { class View.Selectable {
... ...
......