parent
05dbc99004
commit
49be14121d
@ -0,0 +1,63 @@
|
|||||||
|
@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 : <<import>>
|
||||||
|
Program ..> Games : <<import>>
|
||||||
|
Program ..> Players : <<import>>
|
||||||
|
Program ..> Tiles : <<import>>
|
||||||
|
Program ..> Events : <<import>>
|
||||||
|
|
||||||
|
Games ..> Boards : <<import>>
|
||||||
|
Games ..> Players : <<import>>
|
||||||
|
Games ..> Tiles : <<import>>
|
||||||
|
Games ..> Events : <<import>>
|
||||||
|
Boards ..> Tiles : <<import>>
|
||||||
|
Players ..> Tiles : <<access>>
|
||||||
|
}
|
||||||
|
@enduml
|
Loading…
Reference in new issue