diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-30 08:43:05 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-30 08:43:05 +0200 |
| commit | 8e94318a960259c3ef2dad472705e6de0b3229df (patch) | |
| tree | c5964bf1087f310c0d62a9df747502b675b64772 /src/Model/Game.hpp | |
| parent | ad216d86f6573e3575e85f3a2941f6f34b5b1c0e (diff) | |
| parent | a3b805ee7b96d1d693c4108f0104650cfd60b565 (diff) | |
Merge branch 'MakeClass' of github.com:manzerbredes/2P11 into MakeClass
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 |
