aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jetris.ino10
1 files changed, 0 insertions, 10 deletions
diff --git a/Jetris.ino b/Jetris.ino
index d68b3c7..840c2a6 100644
--- a/Jetris.ino
+++ b/Jetris.ino
@@ -152,16 +152,6 @@ int rotateBlock() {
moveBlock(0, 0);
}
-void dropBlock() {
- /* Move down until it hits something */
- while( !checkCollision(0, 1, cur_block) ) {
- moveBlock(0, 1);
-
- /* Add delay to make falling effect */
- delay(5);
- }
-}
-
/* Check and delete full rows(starting at `start`) */
void handleFullRows(int start) {
int i = start;