2P11/src/Model/Game.hpp

31 lines
468 B
C++
Raw Normal View History

2015-04-29 22:28:29 +04:00
#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>
2015-04-30 09:42:40 +02:00
#include <cstdlib>
2015-04-29 22:28:29 +04:00
#include "Grid.hpp"
class Game
{
private:
Grid * m_grid;
public:
Game();
~Game();
void play();
void pop();
void showGrid();
bool isOver();
};
2015-04-30 09:42:40 +02:00
#endif