diff options
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(); |