diff options
| author | krilius <ulrich.lejoyeux@gmail.com> | 2015-04-29 22:28:29 +0400 |
|---|---|---|
| committer | krilius <ulrich.lejoyeux@gmail.com> | 2015-04-29 22:28:29 +0400 |
| commit | a3b805ee7b96d1d693c4108f0104650cfd60b565 (patch) | |
| tree | 0fe6451222c135e0cadcc3011829a4f8ef02dc6d /src/Model/Game.hpp | |
| parent | e241abc9df586cce683d6ae89e1d02c13084a10f (diff) | |
first step of the model
Diffstat (limited to 'src/Model/Game.hpp')
| -rw-r--r-- | src/Model/Game.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
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 <iostream> + +#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 |
