refactoring
This commit is contained in:
@@ -50,14 +50,24 @@ class Menu {
|
||||
* @return The height of the board
|
||||
*/
|
||||
int getBoardHeight() const;
|
||||
|
||||
|
||||
/**
|
||||
* @return A reference to the player's controls
|
||||
*/
|
||||
Player& getPlayerControls();
|
||||
|
||||
/**
|
||||
* @return A reference to the player's controls
|
||||
*/
|
||||
const Player& readPlayerControls() const;
|
||||
|
||||
/**
|
||||
* @return A reference to the pieces list
|
||||
*/
|
||||
PiecesList& getPiecesList();
|
||||
|
||||
/**
|
||||
* @return A reference to the pieces list
|
||||
*/
|
||||
const PiecesList& readPiecesList() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user