summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-05-22 14:19:16 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2022-05-22 14:19:16 +0200
commit8578eca2b996bbcf62399202757325d4c6038f29 (patch)
treeef5a731fe4fce94785f047f9c3d161ffad8570ef /src/game.h
parentd324ad963c24edf6d19dffc305a38e0b3607b5c1 (diff)
WIP: Add game finish, line clearing and new piece
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 87e3f93..022a733 100644
--- a/src/game.h
+++ b/src/game.h
@@ -47,6 +47,9 @@ class GameState{
void update(unsigned int dt);
void render();
+ void newPiece();
+ void clearLines();
+ void finishGame();
bool cellIsEmpty(Point* p);
void pressRotate();