parent
eac5490907
commit
b59c5606cc
@ -1,52 +1,60 @@
|
|||||||
```plantuml
|
```plantuml
|
||||||
@startuml
|
@startuml
|
||||||
package "Boards" {
|
package "Qwirkle" {
|
||||||
class Board
|
package "Boards" {
|
||||||
class Cell
|
class Board
|
||||||
|
class Cell
|
||||||
|
}
|
||||||
|
|
||||||
|
package "Games" {
|
||||||
|
class Game
|
||||||
|
interface IPlayer
|
||||||
|
interface IRules
|
||||||
|
}
|
||||||
|
|
||||||
|
package "Players" {
|
||||||
|
class Player
|
||||||
|
struct Score
|
||||||
|
}
|
||||||
|
|
||||||
|
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 --> Player
|
||||||
|
|
||||||
|
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>>
|
||||||
|
Boards ..> Tiles : <<import>>
|
||||||
|
Players ..> Tiles : <<access>>
|
||||||
}
|
}
|
||||||
|
|
||||||
package "Games" {
|
|
||||||
class Game
|
|
||||||
interface IPlayer
|
|
||||||
interface IRules
|
|
||||||
}
|
|
||||||
|
|
||||||
package "Players" {
|
|
||||||
class Player
|
|
||||||
struct Score
|
|
||||||
}
|
|
||||||
|
|
||||||
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 --> Player
|
|
||||||
|
|
||||||
Tile <--* TileBag
|
|
||||||
Tile --> Color
|
|
||||||
Tile --> Shape
|
|
||||||
|
|
||||||
Program ..> Boards : <<import>>
|
|
||||||
Program ..> Games : <<import>>
|
|
||||||
Program ..> Players : <<import>>
|
|
||||||
Program ..> Tiles : <<import>>
|
|
||||||
Program ..> Events : <<import>>
|
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in new issue