Changes
Page history
Update Osztály diagram: GameOverview related fixes
authored
Mar 21, 2022
by
Sárközi Gergely János
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
5d5e6dc2
...
@@ -178,8 +178,8 @@ interface IGameOverview{
...
@@ -178,8 +178,8 @@ interface IGameOverview{
IGameOverview <|-- GameOverview
IGameOverview <|-- GameOverview
GameOverview o-- GameTeam
I
GameOverview o-- GameTeam
GameOverview o-- GameWorld
I
GameOverview o-- GameWorld
enum GamePhase{
enum GamePhase{
PREPARE
PREPARE
...
@@ -191,8 +191,8 @@ enum Color{
...
@@ -191,8 +191,8 @@ enum Color{
BLUE
BLUE
}
}
Color <-- GameTeam
Color <-- GameTeam
GamePhase <-- GameOverview
GamePhase <--
I
GameOverview
Color <-- GameOverview
Color <--
I
GameOverview
}
}
...
@@ -378,7 +378,7 @@ package Presentation.World {
...
@@ -378,7 +378,7 @@ package Presentation.World {
+ Seed: int
+ Seed: int
- mainCamera: Camera
- mainCamera: Camera
+ IsPaused: bool
+ IsPaused: bool
+ GameOverview: GameOverview
+ GameOverview:
I
GameOverview
- Awake(): void
- Awake(): void
- Update(): void
- Update(): void
...
@@ -434,7 +434,7 @@ package Presentation.UI {
...
@@ -434,7 +434,7 @@ package Presentation.UI {
- _towerPlacing: TowerPlacingUI
- _towerPlacing: TowerPlacingUI
- _uiState: UIState
- _uiState: UIState
- _unitDeployment: UnitDeploymentUI
- _unitDeployment: UnitDeploymentUI
- GameOverview: GameOverview
- GameOverview:
I
GameOverview
- Start(): void
- Start(): void
- UpdateUiState(UIState): void
- UpdateUiState(UIState): void
...
@@ -554,7 +554,7 @@ class Unit
...
@@ -554,7 +554,7 @@ class Unit
class Tower
class Tower
class Barrack
class Barrack
class GameWorld
class GameWorld
class GameOverview
class
I
GameOverview
}
}
...
@@ -565,7 +565,7 @@ abstract BaseHandler {
...
@@ -565,7 +565,7 @@ abstract BaseHandler {
class AdvanceTimeHandler {
class AdvanceTimeHandler {
- Handle(AdvanceTimeCommand)
- Handle(AdvanceTimeCommand)
}
}
AdvanceTimeHandler ---> GameOverview
AdvanceTimeHandler --->
I
GameOverview
AdvanceTimeHandler ---> Tower
AdvanceTimeHandler ---> Tower
AdvanceTimeHandler ---> Unit
AdvanceTimeHandler ---> Unit
AdvanceTimeHandler ---> Barrack
AdvanceTimeHandler ---> Barrack
...
@@ -573,7 +573,7 @@ AdvanceTimeHandler ---> Barrack
...
@@ -573,7 +573,7 @@ AdvanceTimeHandler ---> Barrack
class AdvancePhaseHandler {
class AdvancePhaseHandler {
- Handle(AdvancePhaseCommand)
- Handle(AdvancePhaseCommand)
}
}
AdvancePhaseHandler ---> GameOverview
AdvancePhaseHandler --->
I
GameOverview
class ManageTowerHandler {
class ManageTowerHandler {
- Handle(BuildTowerCommand)
- Handle(BuildTowerCommand)
...
@@ -699,7 +699,7 @@ Mindegyik `...Event`, ami nem interfész, az a `BaseEvent` alosztálya. Ez nincs
...
@@ -699,7 +699,7 @@ Mindegyik `...Event`, ami nem interfész, az a `BaseEvent` alosztálya. Ez nincs
package Logic.Event {
package Logic.Event {
class PhaseAdvancedEvent {
class PhaseAdvancedEvent {
+
Game
: GameOverview {get}
+
Overview
:
I
GameOverview {get}
+ OldPhase : GamePhase {get}
+ OldPhase : GamePhase {get}
}
}
...
@@ -789,12 +789,12 @@ Mindegyik `...Command` a `BaseCommand` alosztálya. Ez nincs jelölve a diagramm
...
@@ -789,12 +789,12 @@ Mindegyik `...Command` a `BaseCommand` alosztálya. Ez nincs jelölve a diagramm
package Logic.Command {
package Logic.Command {
class AdvanceTimeCommand {
class AdvanceTimeCommand {
+
Game
: GameOverview {get}
+
Overview
:
I
GameOverview {get}
+ DeltaTime() : float {get}
+ DeltaTime() : float {get}
}
}
class AdvancePhaseCommand {
class AdvancePhaseCommand {
+
Game
: GameOverview {get}
+
Overview
:
I
GameOverview {get}
}
}
}
}
...
...
...
...