Changes
Page history
Update Osztály diagram: first entry to model
authored
Feb 23, 2022
by
Bahil Botond
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
67f40a74
...
...
@@ -2,6 +2,70 @@
```
plantuml
package Model.Building{
abstract Building{
+ Owner: ?
}
abstract Tower{
+ Damage: int
+ Range: int
+ Fire rate: double
+ BuildingCost: int
+ UpgradeCost: int
+ Target: Unit
+ Upgraded: bool
}
class Barrack{
}
class Castle{
Health: int
}
class Tower1{}
class Tower2{}
class Tower3{}
Tower <|-- Tower1
Tower <|-- Tower2
Tower <|-- Tower3
Building <|-- Tower
Building <|-- Castle
Building <|-- Barrack
}
package Model.Unit{
abstract Unit{
Owner: ?
Health: int
Damage: int
Speed: int
Cost: int
}
class CircleUnit{}
class TriangleUnit{}
Unit <|-- CircleUnit
Unit <|-- TriangleUnit
}
enum Phase{
BUILD
TRAIN
ATTACK
}
```
# Nézet, UI nélkül (azaz VFX, SFX)
...
...
...
...