Changes
Page history
Update Osztály diagram
authored
Apr 26, 2022
by
Horváth István
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
7630b19b
...
@@ -242,6 +242,22 @@ Color <-- IGameOverview
...
@@ -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.
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
```
plantuml
package Presentation.World {
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 {
class TileHighlight {
+ SetDimmed(bool): void
+ SetDimmed(bool): void
+ SetRadius(float, float): void
+ SetRadius(float, float): void
...
@@ -320,6 +336,8 @@ package Presentation.World {
...
@@ -320,6 +336,8 @@ package Presentation.World {
class Castle extends Structure {
class Castle extends Structure {
+ SetData(Logic.Data.World.Castle): void
+ SetData(Logic.Data.World.Castle): void
+ UpdateHealth(): void
+ SetDestroyed(): void
}
}
class ProjectileData {
class ProjectileData {
...
@@ -383,6 +401,7 @@ package Presentation.World {
...
@@ -383,6 +401,7 @@ package Presentation.World {
+ event OnTileSelected: Action<TilePosition>
+ event OnTileSelected: Action<TilePosition>
}
}
Obstacle o-- ObstacleData
Obstacle o-- ObstacleData
Barrack o-- BarrackData
Barrack o-- BarrackData
...
@@ -395,6 +414,8 @@ package Presentation.World {
...
@@ -395,6 +414,8 @@ package Presentation.World {
Tile o-- TileData
Tile o-- TileData
Tile o-- Structure
Tile o-- Structure
World o-- Unit
World o-- Unit
World o-- Environment
World o-- WorldLight
Castle o-- CastleData
Castle o-- CastleData
Tower o-- TowerData
Tower o-- TowerData
...
...
...
...