Update Osztály diagram authored by Horváth István's avatar Horváth István
......@@ -242,6 +242,22 @@ Color <-- IGameOverview
Minden osztály, ami `...Data` elnevezéssel rendelkezik, az a `ScriptableObject`-ből, minden más osztály pedig a `MonoBehaviour`-ből származik le.
```plantuml
package Presentation.World {
class MaionMenuSimulationSupervisor {}
class Environment {}
class WorldLight {
+ SetDimensions(int, int): void
}
class WorldConfig {
+ Width: int
+ Height: int
+ BarrackSpawnCooldownTime float
+ CastleStartingHealth: float
+ MaxBuildingDistance: int
+ GenerateObstacles: bool
}
class TileHighlight {
+ SetDimmed(bool): void
+ SetRadius(float, float): void
......@@ -320,6 +336,8 @@ package Presentation.World {
class Castle extends Structure {
+ SetData(Logic.Data.World.Castle): void
+ UpdateHealth(): void
+ SetDestroyed(): void
}
class ProjectileData {
......@@ -383,6 +401,7 @@ package Presentation.World {
+ event OnTileSelected: Action<TilePosition>
}
Obstacle o-- ObstacleData
Barrack o-- BarrackData
......@@ -395,6 +414,8 @@ package Presentation.World {
Tile o-- TileData
Tile o-- Structure
World o-- Unit
World o-- Environment
World o-- WorldLight
Castle o-- CastleData
Tower o-- TowerData
......
......