Mise à jour de 'Diagrammes UML'

master
Remy PORTET 1 year ago
parent 0b40c805f6
commit 59f54de065

@ -30,7 +30,7 @@ Class Player {
- int bestScore
- bool playTurn
- Piece * main
- unordered_map<Tile, int nb>
- dictionnary<Tile, int nb>
public :
- Player(string name)
- ~Player()
@ -42,14 +42,37 @@ public :
}
Class Gameboard {
- int[][] gameboard
- void getPlayerTurn()
- int[] rows
- int[] columns
public :
- Gameboard()
}
Class Cell {
- int x
- int y
public :
- Cell()
- int getX()
- int getY()
}
Class Play {
- int nbPlayers
- Gameboard gameboard
- dictionnary<Tile, int nb>
public :
- Play(int nbPlayers)
- void getPlayerTurn()
}
Class Leaderboard {
- int[] score
- string[] playerNames
}
Player --> "- Tile* main " Tile
Gameboard --> Cell
Cell --> Tile
@enduml

Loading…
Cancel
Save