Update Osztály diagram: Data update authored by Bahil Botond's avatar Bahil Botond
......@@ -4,6 +4,7 @@ Az alábbi diagrammok értelmezéséhez az [Architecture](Architecture) dokument
```plantuml
package Logic.Data{
package Logic.Data.World{
......@@ -22,6 +23,7 @@ package Logic.Data.World{
class GameWorld{
- _grid: TileObject[,]
+ TileObjects(): IReadOnlyCollection<TileObject>
+ Units(): IReadOnlyCollection<Unit>
+ Width(): int{get}
+ Height(): int{get}
......@@ -80,8 +82,17 @@ package Logic.Data.World{
+ Cost(): int{get}
+ NextCheckpoint(): TilePosition
+ Move(float): void
+ Position(): Vector2{get}
}
Class Vector2{
+ X(): float{get}
+ Y(): float{get}
}
Unit o-- TilePosition
Unit o-- Vector2
interface IUnitTypeData{
+ Name(): String{get}
......@@ -138,6 +149,8 @@ GamePhase <-- GameOverview
Color <-- GameOverview
}
```
# `Presentation.World` komponens (játéktér megjelenés)
......
......