diff options
author | julian T <julian@jtle.dk> | 2018-12-31 13:39:49 +0100 |
---|---|---|
committer | julian T <julian@jtle.dk> | 2018-12-31 13:39:49 +0100 |
commit | 6b446f42bf755aac9f3345f3d21e9977f2ddf067 (patch) | |
tree | 35f0e5e8fd0823a17c34fd53f72e5bf2b1196217 /Jetris.ino | |
parent | 4b7e9ca7c92e2592324a250b5e29fb2b4c0cb8e4 (diff) |
Removed dropBlock
Diffstat (limited to 'Jetris.ino')
-rw-r--r-- | Jetris.ino | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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; |