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 488f74b..550b47a 100644
--- a/include/game.hpp
+++ b/include/game.hpp
@@ -2,6 +2,8 @@
# define GAME_HPP
#include <cstdlib>
+#include <vector>
+#include <utility>
#include "2048.hpp"
class Game
@@ -18,6 +20,10 @@ class Game
private:
int size;
int **grid;
+ void mergeRow(std::vector<int> &row);
+ int **gridCopy();
+ bool gridEqual(int **other);
+ void gridDestroy(int **g);
};
#endif