summaryrefslogtreecommitdiff
path: root/src/piece.h
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2022-05-21 21:36:37 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2022-05-21 21:36:37 +0200
commit41d2578d3401e38fa8600a533ad5998dc39e7be5 (patch)
tree8199af62e448b1010bab8ec4caca98d7ada860ff /src/piece.h
parent3ce5ae75abd2de874b6c33214ea44063f11a0d4d (diff)
add move sideways capability
Diffstat (limited to 'src/piece.h')
-rw-r--r--src/piece.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/piece.h b/src/piece.h
index 53bd112..ee95539 100644
--- a/src/piece.h
+++ b/src/piece.h
@@ -24,6 +24,8 @@ class Piece {
Point getPosition();
void rotate();
void advance();
+ void move_left();
+ void move_right();
void initIterator();
Point* nextAbsBlockPos();