Board erstellt
This commit is contained in:
parent
52635342be
commit
d40cbe958c
@ -11,7 +11,7 @@ public class Board extends JPanel
|
|||||||
public static final int BOARD_WIDTH=10;
|
public static final int BOARD_WIDTH=10;
|
||||||
public static final int BOARD_HEIGHT =20;
|
public static final int BOARD_HEIGHT =20;
|
||||||
private Timer loop;
|
private Timer loop;
|
||||||
private Color[][] board = new Color[BOARD_HEIGHT][BOARD_HEIGHT];
|
private Color[][] board = new Color[BOARD_WIDTH][BOARD_HEIGHT];
|
||||||
|
|
||||||
public Board() {
|
public Board() {
|
||||||
loop = new Timer(500, new ActionListener() {
|
loop = new Timer(500, new ActionListener() {
|
||||||
|
Loading…
Reference in New Issue
Block a user