first step of the model
This commit is contained in:
parent
e241abc9df
commit
a3b805ee7b
6 changed files with 243 additions and 8 deletions
29
src/Model/Game.hpp
Normal file
29
src/Model/Game.hpp
Normal file
|
@ -0,0 +1,29 @@
|
|||
#ifndef DEF_GAME
|
||||
#define DEF_GAME
|
||||
|
||||
/* Game.h
|
||||
* Defines the class Game
|
||||
* A game allows a player to play. It contains a grid and pops numbers
|
||||
* Creators : krilius, manzerbredes
|
||||
* Date : 29/04/2015 */
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "Grid.hpp"
|
||||
|
||||
class Game
|
||||
{
|
||||
private:
|
||||
Grid * m_grid;
|
||||
|
||||
public:
|
||||
Game();
|
||||
~Game();
|
||||
|
||||
void play();
|
||||
void pop();
|
||||
void showGrid();
|
||||
bool isOver();
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue