fixed game logic
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
#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
|
||||
static const int FRAMES_PER_SECOND = 60; // the number of frames per second, all the values in the app were choosen with this number in mind
|
||||
static const int DEFAULT_BOARD_WIDTH = 10; // the default width of the board when starting the menu
|
||||
static const int DEFAULT_BOARD_HEIGHT = 20; // the default height of the board when starting the menu
|
||||
|
||||
|
||||
/**
|
||||
* The interface between the UI and the core of the game
|
||||
* The interface between an UI and the core of the app
|
||||
*/
|
||||
class Menu {
|
||||
private:
|
||||
std::shared_ptr<PiecesList> piecesList; // the list of pieces in the game
|
||||
std::shared_ptr<PiecesList> piecesList; // the list of pieces used by the app
|
||||
Player playerControls; // the controls of the player
|
||||
int boardWidth; // the width of the board for the next game
|
||||
int boardHeight; // the height of the board for the next game
|
||||
|
||||
Reference in New Issue
Block a user