Changes
Page history
Update Osztály diagram: Data update
authored
Feb 26, 2022
by
Bahil Botond
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
f8883201
...
...
@@ -4,6 +4,7 @@ Az alábbi diagrammok értelmezéséhez az [Architecture](Architecture) dokument
```
plantuml
package Logic.Data{
package Logic.Data.World{
...
...
@@ -25,6 +26,10 @@ package Logic.Data.World{
+ Width(): int{get}
+ Height(): int{get}
+ Grid(int, int): TileObject{get}
+ BuildTower(GameTeam, ITowerTypeData, TilePosition): void
+ DestroyTower(Tower): void
+ UpgradeTower(Tower): void
}
abstract TileObject{
...
...
@@ -54,6 +59,9 @@ package Logic.Data.World{
class Barrack extends Building{
- _checkPoints: IList<TilePosition>
+ CheckPoints(): IReadOnlyCollection<TilePosition>{get}
+ QueueUnit(IUnitTypeData): void
+ PushCheckpoint(TilePosition): void
+ DeleteCheckpoint(TilePosition): void
}
class Castle extends Building{
...
...
@@ -125,7 +133,6 @@ GamePhase <-- GameOverview
Color <-- GameOverview
}
```
# `Presentation.World` komponens (játéktér megjelenés)
...
...
...
...