diff --git a/src/Tetris/Board.java b/src/Tetris/Board.java index 80c6a12..ebb5e1e 100644 --- a/src/Tetris/Board.java +++ b/src/Tetris/Board.java @@ -12,6 +12,7 @@ public class Board extends JPanel public static final int BOARD_HEIGHT =20; private Timer loop; private Color[][] board = new Color[BOARD_HEIGHT][BOARD_HEIGHT]; + public Board() { loop = new Timer(500, new ActionListener() { int n = 0;