From a3b805ee7b96d1d693c4108f0104650cfd60b565 Mon Sep 17 00:00:00 2001 From: krilius Date: Wed, 29 Apr 2015 22:28:29 +0400 Subject: first step of the model --- src/Model/Game.hpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/Model/Game.hpp (limited to 'src/Model/Game.hpp') diff --git a/src/Model/Game.hpp b/src/Model/Game.hpp new file mode 100644 index 0000000..8dcaf64 --- /dev/null +++ b/src/Model/Game.hpp @@ -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 + +#include "Grid.hpp" + +class Game +{ + private: + Grid * m_grid; + + public: + Game(); + ~Game(); + + void play(); + void pop(); + void showGrid(); + bool isOver(); +}; + +#endif \ No newline at end of file -- cgit v1.2.3