Update Osztály diagram: first entry to model authored by Bahil Botond's avatar Bahil Botond
...@@ -2,6 +2,70 @@ ...@@ -2,6 +2,70 @@
```plantuml ```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) # Nézet, UI nélkül (azaz VFX, SFX)
... ...
......