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/piece.h | |
parent | d324ad963c24edf6d19dffc305a38e0b3607b5c1 (diff) |
WIP: Add game finish, line clearing and new piece
Diffstat (limited to 'src/piece.h')
-rw-r--r-- | src/piece.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/piece.h b/src/piece.h index ee95539..1c3e820 100644 --- a/src/piece.h +++ b/src/piece.h @@ -22,6 +22,7 @@ class Piece { Piece(PieceType type, int xpos); Point getPosition(); + void restartTo(PieceType type, int xpos); void rotate(); void advance(); void move_left(); |