Browse Source

Display TimerLable

feature_Minesweeper_Timer
kfkama 3 years ago
parent
commit
1a8df9a1a9
  1. 4
      src/main/java/Minesweeper/MinesweeperGame.java

4
src/main/java/Minesweeper/MinesweeperGame.java

@ -13,6 +13,10 @@ public class MinesweeperGame extends JPanel {
this.setSize(WIDTH, HEIGTH);
setLayout(null);
playfield = new Playfield(this, _playfieldSize, _bombAmount);
TimerLable tl = new TimerLable();
tl.setBounds((WIDTH / 2 - 5), HEIGTH / 2 - 240, 20, 20);
add(tl);
tl.start();
}
public static void main(String[] args) {

Loading…
Cancel
Save