const everywhere + légèrement changer format fichiers
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "Player.h"
|
||||
#include "Game.h"
|
||||
|
||||
static const int FRAMES_PER_SECOND = 60; // the number of frames per second, all the values in the game were choosen with this number in mind
|
||||
|
||||
|
||||
/**
|
||||
* The interface between the UI and the core of the game
|
||||
@@ -25,7 +27,7 @@ class Menu {
|
||||
* Starts a new game with the current settings
|
||||
* @return The game that has been created
|
||||
*/
|
||||
Game startGame(Gamemode gamemode);
|
||||
Game startGame(Gamemode gamemode) const;
|
||||
|
||||
/**
|
||||
* Sets the width of the board, which must be greater than 0
|
||||
@@ -42,12 +44,12 @@ class Menu {
|
||||
/**
|
||||
* @return The width of the board
|
||||
*/
|
||||
int getBoardWidth();
|
||||
int getBoardWidth() const;
|
||||
|
||||
/**
|
||||
* @return The height of the board
|
||||
*/
|
||||
int getBoardHeight();
|
||||
int getBoardHeight() const;
|
||||
|
||||
/**
|
||||
* @return A reference to the player's controls
|
||||
|
||||
Reference in New Issue
Block a user