Update Class Diagram authored by Karikó Csongor Csanád's avatar Karikó Csongor Csanád
......@@ -563,14 +563,25 @@ class View.GameManager {
- targetFrameRate : int
- uiManager : UIManager
- buildings : BuildingConfig[]
- simulation : Model.Simulation
- simulation : Simulation
- tickRoutine : IEnumerator
- visitorPrefab : GameObject
- visitorPrefab : GameObject
- visitorPrefab : GameObject
- GetObjectBlueprints() : Model.IMapObjectBlueprint[]
- cleanerPrefab: GameObject
- maintainerPrefab : GameObject
- entrancePrefab : GameObject
- GetObjectBlueprints() : IMapObjectBlueprint[]
+ TickInterval<<get>> : float
+ TickCount<<get>> : long
+ PlayerBalance<<get>> int
+ Park<<get>> : IInspectable
+ SetSimulationSpeed(int)
+ MultiplySimulationSpeed(int)
- SpawnObject(GameObject, IDisplayable, IInspectable)
- OnDestroy()
+ Pause()
+ Unpause()
+ Tick() : IEnumerator
+ Start() // Called by unity
}
......@@ -636,9 +647,27 @@ class View.BuildingSelector {
class View.InspectorWindow {
- inspectorPanel : RectTransform
- generateView(Property)
- contentRect : RectTransform
- 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)
+ Close()
}
class View.Selectable {
......
......