first step of the model

This commit is contained in:
krilius 2015-04-29 22:28:29 +04:00
parent e241abc9df
commit a3b805ee7b
6 changed files with 243 additions and 8 deletions

29
src/Model/Game.hpp Normal file
View 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