diff options
Diffstat (limited to 'include/game.hpp')
| -rw-r--r-- | include/game.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/game.hpp b/include/game.hpp index 550b47a..62a024c 100644 --- a/include/game.hpp +++ b/include/game.hpp @@ -12,6 +12,7 @@ class Game Game(int s); ~Game(); int getSize(); + int getScore(); int at(int x, int y); void move(Direction direction); void spawn(); @@ -20,6 +21,7 @@ class Game private: int size; int **grid; + int score; void mergeRow(std::vector<int> &row); int **gridCopy(); bool gridEqual(int **other); |
