diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-05-22 14:19:16 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-05-22 14:19:16 +0200 |
commit | 8578eca2b996bbcf62399202757325d4c6038f29 (patch) | |
tree | ef5a731fe4fce94785f047f9c3d161ffad8570ef /src/game.h | |
parent | d324ad963c24edf6d19dffc305a38e0b3607b5c1 (diff) |
WIP: Add game finish, line clearing and new piece
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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(); |