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