Changes
Page history
Update Osztály diagram: add properties to commands
authored
Feb 26, 2022
by
Sárközi Gergely János
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
8d513b31
...
...
@@ -320,18 +320,43 @@ package Logic.Event.World {
Mindegyik
`...Command`
a
`BaseCommand`
alosztálya. Ez nincs jelölve a diagrammon a jobb átláthatóság érdekében.
```
plantuml
package Logic.Command.World {
class AdvanceTimeCommand
}
package Logic.Command {
package Logic.Command.World.Tower {
class BuildTowerCommand
class UpgradeTowerCommand
class DestroyTowerCommand
class BuildTowerCommand {
+ Type() : ITowerTypeData {get}
+ Position() : TilePosition {get}
}
class UpgradeTowerCommand {
+ Tower() : Tower {get}
}
class DestroyTowerCommand {
+ Tower() : Tower {get}
}
}
package Logic.Command.World.Unit {
class DeployUnitCommand {
+ Type() : IUnitTypeData {get}
}
}
class DeployUnitCommand
package Logic.Command.World.Barrack {
class AddBarrackChecpointCommand
class RemoveBarrackCheckpointCommand
class AddBarrackCheckpointCommand {
+ Barrack() : Barrack {get}
+ Position() : TilePosition {get}
}
class RemoveBarrackCheckpointCommand {
+ Barrack() : Barrack {get}
+ Position() : TilePosition {get}
}
}
class AdvanceTimeCommand {
+ DeltaTime() : float {get}
}
class AdvancePhaseCommand
}
```