|
@ -77,6 +77,9 @@ public class GridGUI { |
|
|
public void setClicked() { |
|
|
public void setClicked() { |
|
|
clicked = false; |
|
|
clicked = false; |
|
|
} |
|
|
} |
|
|
|
|
|
public boolean getEndGame() { |
|
|
|
|
|
return endGame; |
|
|
|
|
|
} |
|
|
public class MyCellListener implements ActionListener { |
|
|
public class MyCellListener implements ActionListener { |
|
|
public void actionPerformed(ActionEvent a) { |
|
|
public void actionPerformed(ActionEvent a) { |
|
|
if(!clicked) { |
|
|
if(!clicked) { |
|
|