From a95552903eaaeba18e840d39e7a4ca6d3bdfa445 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sun, 22 May 2022 14:29:32 +0200 Subject: Next piece is random now --- src/piece.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/piece.h') diff --git a/src/piece.h b/src/piece.h index 1c3e820..01a9ac8 100644 --- a/src/piece.h +++ b/src/piece.h @@ -12,13 +12,14 @@ class Piece { public: enum class PieceType{ - LINE, + LINE = 0, BLOCK, S, T, L }; + Piece(int xpos); Piece(PieceType type, int xpos); Point getPosition(); -- cgit v1.2.3