Changes
Page history
Update Osztály diagram: configs
authored
Apr 11, 2022
by
Sárközi Gergely János
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
43de8cdb
...
...
@@ -51,6 +51,15 @@ package Logic.Data.World{
+ DestroyUnit(Unit): void
}
interface IGameWorldConfig {
+ Width(): int {get}
+ Height(): int {get}
+ BarrackSpawnCooldownTime(): float {get}
+ CastleStartingHealth(): float {get}
+ MaxBuildingDistance(): int {get}
}
GameWorld o-- IGameWorldConfig
class WorldNavigation{
- _grid: TileObject[,]
+ IsPositionReachable(from: Vector2, to: Vector2): bool
...
...
@@ -197,6 +206,19 @@ IGameOverview <|-- GameOverview
IGameOverview o-- GameTeam
IGameOverview o-- GameWorld
interface IGameOverviewConfig {
+ FightingPhaseDuration(): float {get}
}
IGameOverview o-- IGameOverviewConfig
interface IGameEconomyConfig {
+ StartingBalance(): int {get}
+ RoundBasePay(): int {get}
+ NewUnitsKilledPay(): int {get}
+ TotalUnitsPurchasedPay(): int {get}
}
IGameOverview o-- IGameEconomyConfig
enum GamePhase{
PREPARE
FIGHT
...
...
...
...