Mise à jour de 'Diagrammes UML'

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

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

Loading…
Cancel
Save