Changes
Page history
Update Osztály diagram: Logika whitespace
authored
Feb 26, 2022
by
Bahil Botond
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
28d04f1e
...
@@ -8,7 +8,6 @@ package Model.Field{
...
@@ -8,7 +8,6 @@ package Model.Field{
+ Width: int
+ Width: int
+ Height: int
+ Height: int
+ Grid: TileObject[,]
+ Grid: TileObject[,]
}
}
abstract TileObject{
abstract TileObject{
...
@@ -20,6 +19,7 @@ package Model.Field{
...
@@ -20,6 +19,7 @@ package Model.Field{
}
}
class Obstacle{
class Obstacle{
}
}
abstract Tower{
abstract Tower{
...
@@ -37,7 +37,7 @@ package Model.Field{
...
@@ -37,7 +37,7 @@ package Model.Field{
}
}
class Castle{
class Castle{
Health: int
+
Health: int
}
}
class Tower1{}
class Tower1{}
...
@@ -53,21 +53,18 @@ package Model.Field{
...
@@ -53,21 +53,18 @@ package Model.Field{
Building <|-- Tower
Building <|-- Tower
Building <|-- Castle
Building <|-- Castle
Building <|-- Barrack
Building <|-- Barrack
Field o-- TileObject
Field o-- TileObject
}
}
package Model.Unit{
package Model.Unit{
abstract Unit{
abstract Unit{
Owner: ?
+
Owner: ?
Health: int
+
Health: int
Damage: int
+
Damage: int
Speed: int
+
Speed: int
Cost: int
+
Cost: int
Destination:
+
Destination:
}
}
class CircleUnit{}
class CircleUnit{}
...
@@ -80,12 +77,10 @@ package Model.Unit{
...
@@ -80,12 +77,10 @@ package Model.Unit{
enum Phase{
enum Phase{
BUILD
PREPARE
TRAIN
FIGHT
FIGHT
}
}
```
```
# Nézet, UI nélkül (azaz VFX, SFX)
# Nézet, UI nélkül (azaz VFX, SFX)
...
...
...
...