Changes
Page history
Update Osztály diagram: small fixes in Data
authored
Feb 26, 2022
by
Bahil Botond
Hide whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
6645534d
...
@@ -32,7 +32,7 @@ package Logic.Data.World{
...
@@ -32,7 +32,7 @@ package Logic.Data.World{
}
}
abstract Building extends TileObject{
abstract Building extends TileObject{
+ Owner
Color(): Color
{get}
+ Owner
): GameTeam
{get}
}
}
class Obstacle extends TileObject{
class Obstacle extends TileObject{
...
@@ -65,7 +65,7 @@ package Logic.Data.Unit{
...
@@ -65,7 +65,7 @@ package Logic.Data.Unit{
abstract Unit{
abstract Unit{
- _checkpoints: IList<TilePosition>
- _checkpoints: IList<TilePosition>
+ Owner
Color(): Color
{get}
+ Owner
(): GameTeam
{get}
+ Cost(): int{get}
+ Cost(): int{get}
+ NextCheckpoint(): TilePosition
+ NextCheckpoint(): TilePosition
}
}
...
@@ -114,6 +114,8 @@ enum Color{
...
@@ -114,6 +114,8 @@ enum Color{
RED
RED
BLUE
BLUE
}
}
Color --> GameTeam
GamePhase --> GameOverview
}
}
...
...
...
...