feat: add line completed sound
This commit is contained in:
@@ -21,7 +21,7 @@ public class Tetromino {
|
||||
public boolean fall() {
|
||||
Vec2i newPos = centerPos.offset(Vec2i.of(0, 1));
|
||||
if (collidesVertically(newPos)) {
|
||||
SoundEffect.BEEP.play();
|
||||
SoundEffect.BOOP.play();
|
||||
int[] affectedLines = new int[this.collision.length];
|
||||
int line = centerPos.getY();
|
||||
for (int i = 0; i < this.collision.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user