summaryrefslogtreecommitdiff
path: root/src/piece.h
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-05-22 14:29:32 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2022-05-22 15:02:50 +0200
commita95552903eaaeba18e840d39e7a4ca6d3bdfa445 (patch)
tree64c953b2cc1d43f6eb9ee83125c29cce4bb87f6f /src/piece.h
parent8578eca2b996bbcf62399202757325d4c6038f29 (diff)
Next piece is random nowHEADmaster
Diffstat (limited to 'src/piece.h')
-rw-r--r--src/piece.h3
1 files changed, 2 insertions, 1 deletions
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();