Browse Source

Update Implementation AIGridGUI class

main
Thoumi Ngonga Brice 2 years ago
parent
commit
7aa576245c
  1. 4
      src/main/java/BattleShip/AIGridGUI.java

4
src/main/java/BattleShip/AIGridGUI.java

@ -489,7 +489,9 @@ public class AIGridGUI extends JPanel {
} }
public void mouseExited(MouseEvent e) { public void mouseExited(MouseEvent e) {
//Unhighlight cells when mouse exited.
BSButton cell = (BSButton) e.getSource();
highlightCells(cell, 2);
} }
public void mouseClicked(MouseEvent e) {} public void mouseClicked(MouseEvent e) {}
public void mousePressed(MouseEvent e) {} public void mousePressed(MouseEvent e) {}

Loading…
Cancel
Save