|
|
|
@ -10,7 +10,7 @@ skinparam classFontColor #black
|
|
|
|
|
skinparam classFontName Tahoma
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class Tile {
|
|
|
|
|
Class Tile #67D2DC {
|
|
|
|
|
- string shape
|
|
|
|
|
- string color
|
|
|
|
|
- int row
|
|
|
|
@ -24,7 +24,7 @@ public :
|
|
|
|
|
- int getColumn()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Class Player {
|
|
|
|
|
Class Player #5BBB4E {
|
|
|
|
|
- string name
|
|
|
|
|
- int score
|
|
|
|
|
- int bestScore
|
|
|
|
@ -41,14 +41,14 @@ public :
|
|
|
|
|
- void swap(dictionnary<Tile, int nb>)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Class Gameboard {
|
|
|
|
|
Class Gameboard #2981E9 {
|
|
|
|
|
- int[] rows
|
|
|
|
|
- int[] columns
|
|
|
|
|
public :
|
|
|
|
|
- Gameboard()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Class Cell {
|
|
|
|
|
Class Cell #5792D8 {
|
|
|
|
|
- int x
|
|
|
|
|
- int y
|
|
|
|
|
public :
|
|
|
|
@ -57,7 +57,7 @@ public :
|
|
|
|
|
- int getY()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Class Play {
|
|
|
|
|
Class Play #DFBD62 {
|
|
|
|
|
- int nbPlayers
|
|
|
|
|
- Gameboard gameboard
|
|
|
|
|
- dictionnary<Tile, int nb>
|
|
|
|
@ -66,7 +66,7 @@ public :
|
|
|
|
|
- void getPlayerTurn()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Class Leaderboard {
|
|
|
|
|
Class Leaderboard #894EBB {
|
|
|
|
|
- int[] score
|
|
|
|
|
- string[] playerNames
|
|
|
|
|
}
|
|
|
|
|