Fehler aufheben
This commit is contained in:
parent
58cd1d05f0
commit
bb346648fb
Binary file not shown.
Binary file not shown.
@ -16,7 +16,7 @@ public class Board extends JPanel implements KeyListener
|
|||||||
private static int FPS =60;
|
private static int FPS =60;
|
||||||
private static int delay =FPS/1000;
|
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 BOARD_HEIGHT=20;
|
||||||
public static final int BLOCK_SIZE=30;
|
public static final int BLOCK_SIZE=30;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ public class Stein {
|
|||||||
private int deltax = 0;
|
private int deltax = 0;
|
||||||
private boolean collision = false;
|
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 BOARD_HEIGHT = 20;
|
||||||
public static final int BLOCK_SIZE = 30;
|
public static final int BLOCK_SIZE = 30;
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public class Stein {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
this.x = 4;
|
this.x = 2;
|
||||||
this.y = 0;
|
this.y = 0;
|
||||||
collision = false;
|
collision = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user