diff --git a/Diagrammes-UML.md b/Diagrammes-UML.md index 87b59ea..5a6f41a 100644 --- a/Diagrammes-UML.md +++ b/Diagrammes-UML.md @@ -4,6 +4,71 @@ # Package Diagram +```plantuml +@startuml +skinparam linetype polyline +skinparam linetype ortho +package "Qwirkle" { + package "Boards" { + class Board + class Cell + } + + package "Games" { + class Game + interface IPlayer + interface IRules + } + + package "Players" { + class Player + class Score + class LeaderBoard + } + + package "Tiles" { + class Tile + class TileBag + enum Color + enum Shape + } + + package "Events" { + class AddPlayerNotifiedEventArgs + class EndOfGameNotifiedEventArgs + class NextPlayerNotifiedEventArgs + class PlaceTileNotifiedEventArgs + } + + package "Program" { + } + + Cell <--* Board + + IPlayer ..|> Game + IRules ..|> Game + + Score <--* LeaderBoard + + Tile <--* TileBag + Tile --> Color + Tile --> Shape + + Program ..> Boards : <> + Program ..> Games : <> + Program ..> Players : <> + Program ..> Tiles : <> + Program ..> Events : <> + + Games ..> Boards : <> + Games ..> Players : <> + Games ..> Tiles : <> + Games ..> Events : <> + Boards ..> Tiles : <> + Players ..> Tiles : <> +} +@enduml + # Sequence Diagram ![](SAE201_SequenceDiagram.svg)