feat: add collision handling to rotation
This commit is contained in:
@@ -50,7 +50,7 @@ public class Tetris {
|
||||
@Override
|
||||
public void run() {
|
||||
if (space.getCurrentTetromino() != null) {
|
||||
space.getCurrentTetromino().fall(1);
|
||||
space.getCurrentTetromino().fall();
|
||||
ui.getGamePanel().repaint();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user