From 8578eca2b996bbcf62399202757325d4c6038f29 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 22 May 2022 14:19:16 +0200 Subject: WIP: Add game finish, line clearing and new piece --- src/piece.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/piece.h') 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(); -- cgit v1.2.3