Browse Source

update

main
fdai4581 2 years ago
parent
commit
73f023d782
  1. 8
      src/main/java/BattleShip/BSButton.java

8
src/main/java/BattleShip/BSButton.java

@ -15,4 +15,12 @@ public class BSButton extends JButton {
return gridLocation;
}
public void setCellContents(Ship s) {
cellContents = s;
}
public Ship getCellContents() {
return cellContents;
}
}
Loading…
Cancel
Save