diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-05-22 14:29:32 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2022-05-22 15:02:50 +0200 |
commit | a95552903eaaeba18e840d39e7a4ca6d3bdfa445 (patch) | |
tree | 64c953b2cc1d43f6eb9ee83125c29cce4bb87f6f /src/piece.h | |
parent | 8578eca2b996bbcf62399202757325d4c6038f29 (diff) |
Diffstat (limited to 'src/piece.h')
-rw-r--r-- | src/piece.h | 3 |
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(); |