From d40cbe958c1d32a882e193042143960486bd092a Mon Sep 17 00:00:00 2001 From: Ewen Date: Thu, 11 Nov 2021 14:26:01 +0100 Subject: [PATCH] Board erstellt --- src/Tetris/Board.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tetris/Board.java b/src/Tetris/Board.java index ebb5e1e..509e1f6 100644 --- a/src/Tetris/Board.java +++ b/src/Tetris/Board.java @@ -11,7 +11,7 @@ public class Board extends JPanel public static final int BOARD_WIDTH=10; public static final int BOARD_HEIGHT =20; private Timer loop; - private Color[][] board = new Color[BOARD_HEIGHT][BOARD_HEIGHT]; + private Color[][] board = new Color[BOARD_WIDTH][BOARD_HEIGHT]; public Board() { loop = new Timer(500, new ActionListener() {