Update Osztály diagram authored by Horváth István's avatar Horváth István
...@@ -189,7 +189,7 @@ package Presentation.World { ...@@ -189,7 +189,7 @@ package Presentation.World {
Destroy(): void Destroy(): void
} }
abstract class Building { abstract class Structure {
} }
class CastleData { class CastleData {
...@@ -199,7 +199,7 @@ package Presentation.World { ...@@ -199,7 +199,7 @@ package Presentation.World {
DestroyedSprite: Sprite DestroyedSprite: Sprite
} }
class Castle extends Building { class Castle extends Structure {
IsAlive: bool IsAlive: bool
Start(): void Start(): void
...@@ -219,7 +219,7 @@ package Presentation.World { ...@@ -219,7 +219,7 @@ package Presentation.World {
Destroy(): void Destroy(): void
} }
class Tower extends Building { class Tower extends Structure {
Start(): void Start(): void
Update(float): void Update(float): void
} }
...@@ -230,12 +230,12 @@ package Presentation.World { ...@@ -230,12 +230,12 @@ package Presentation.World {
AmbientEffect: GameObject AmbientEffect: GameObject
} }
class Obstacle extends Building { class Obstacle extends Structure {
Start(): void Start(): void
Update(float): void Update(float): void
} }
class Barrack extends Building { class Barrack extends Structure {
Start(): void Start(): void
Update(float): void Update(float): void
} }
...@@ -248,12 +248,10 @@ package Presentation.World { ...@@ -248,12 +248,10 @@ package Presentation.World {
class BarrackData { class BarrackData {
Sprite: Sprite Sprite: Sprite
AmbientEffect: GameObject AmbientEffect: GameObject
SpawnEffect: GameObject
} }
class ObstacleData { class ObstacleData {
Sprite: Sprite
AmbientEffect: GameObject
} }
Obstacle o-- ObstacleData Obstacle o-- ObstacleData
...@@ -263,7 +261,7 @@ package Presentation.World { ...@@ -263,7 +261,7 @@ package Presentation.World {
World o-- Tile World o-- Tile
Tile o-- TileData Tile o-- TileData
Tile o-- Building Tile o-- Structure
World o-- Unit World o-- Unit
Castle o-- CastleData Castle o-- CastleData
...@@ -273,7 +271,6 @@ package Presentation.World { ...@@ -273,7 +271,6 @@ package Presentation.World {
GameManager o-- PrepareStage GameManager o-- PrepareStage
} }
``` ```
# `Presentation.UI` komponens (felhasználói felület) # `Presentation.UI` komponens (felhasználói felület)
... ...
......