Skip to content

Commit

Permalink
feat: uml diagram updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozon committed May 24, 2020
1 parent ff32bdc commit e1cfe61
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions diagram.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,15 @@ package com.knightwars {
class GarrisonCastle1
class MarketCastle1
}

class TroopMovement {
- owner: Player
- departureBuilding : Building
- destinationBuilding : Building
- originalPath : Path
+ removeUnit(unit: Unit)
+ update(dt : float)
}
}
}
}
Expand All @@ -203,6 +212,10 @@ MapFactory ..> Map: crée
GameManager o-- KnightWarsGame
KnightWarsGame o-- Map
Map o-- Unit
Map o-- TroopMovement
TroopMovement o-- Player
TroopMovement o-- Path

Unit o-- Building
Unit o-- Path
Building o-- Player
Expand Down

0 comments on commit e1cfe61

Please sign in to comment.