summaryrefslogtreecommitdiff
path: root/src/Model/Game.hpp
blob: fb09188d6b7a80c920d9c24070613080412890b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#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 <cstdlib>

#include "Grid.hpp"

class Game
{
	private:
		Grid * m_grid;

	public:
		Game();
		~Game();

		void play();
		void pop();
		void showGrid();
		bool isOver();
};

#endif