Fehler aufheben

This commit is contained in:
zhe 2021-12-13 17:07:23 +01:00
parent 58cd1d05f0
commit bb346648fb
4 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ public class Board extends JPanel implements KeyListener
private static int FPS =60;
private static int delay =FPS/1000;
public static final int BOARD_WIDTH=10;
public static final int BOARD_WIDTH=11;
public static final int BOARD_HEIGHT=20;
public static final int BLOCK_SIZE=30;

View File

@ -11,7 +11,7 @@ public class Stein {
private int deltax = 0;
private boolean collision = false;
public static final int BOARD_WIDTH = 11;
public static final int BOARD_WIDTH = 12;
public static final int BOARD_HEIGHT = 20;
public static final int BLOCK_SIZE = 30;
@ -34,7 +34,7 @@ public class Stein {
}
public void reset() {
this.x = 4;
this.x = 2;
this.y = 0;
collision = false;