|
@ -12,7 +12,7 @@ public class MinesweeperGame extends JPanel { |
|
|
public MinesweeperGame(int _playfieldSize, int _bombAmount) { |
|
|
public MinesweeperGame(int _playfieldSize, int _bombAmount) { |
|
|
this.setSize(WIDTH, HEIGTH); |
|
|
this.setSize(WIDTH, HEIGTH); |
|
|
setLayout(null); |
|
|
setLayout(null); |
|
|
playfield = new Playfield(this, _playfieldSize, _bombAmount ); |
|
|
|
|
|
|
|
|
playfield = new Playfield(this, _playfieldSize, _bombAmount); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|