aboutsummaryrefslogtreecommitdiff
path: root/include/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/game.hpp')
-rw-r--r--include/game.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/game.hpp b/include/game.hpp
index a644799..488f74b 100644
--- a/include/game.hpp
+++ b/include/game.hpp
@@ -1,6 +1,9 @@
#ifndef GAME_HPP
# define GAME_HPP
+#include <cstdlib>
+#include "2048.hpp"
+
class Game
{
public:
@@ -8,6 +11,9 @@ class Game
~Game();
int getSize();
int at(int x, int y);
+ void move(Direction direction);
+ void spawn();
+ bool lost();
private:
int size;