summaryrefslogtreecommitdiff
path: root/src/Model/Game.hpp
blob: e4681763ebe2fe0e1045d689d125ff80ac848b8a (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
31
32
33
34
35
36
37
38
39
40
#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 <string>
#include "../Helpers/Keyboard.hpp"
#include "Grid.hpp"
#include "Stats.hpp"
#include <tuple>

class Game : public Grid
{
	private:
		//Members
		//Grid m_grid;
		Stats m_stats;
	public:
		//Constructor and Destructor
		Game();
		~Game();

		//Helpers
		bool swipe(kbdh::Direction direction);
		void coutGrid();
		void popRandomNumber();
		//bool isOver();

		//Getters and Setters
		Stats getStats();
		//int maxStrLenInGrid();
		//std::vector<std::vector<int> > getGrid();
};

#endif