fix: add finishGame
This commit is contained in:
@@ -114,6 +114,9 @@ public class BattleShipClient {
|
|||||||
public void setOtherPlayerJoined() {
|
public void setOtherPlayerJoined() {
|
||||||
otherPlayerJoined = true;
|
otherPlayerJoined = true;
|
||||||
}
|
}
|
||||||
|
public void finishGame(boolean won){
|
||||||
|
//TODO:
|
||||||
|
}
|
||||||
public String getHit(int row, int col){
|
public String getHit(int row, int col){
|
||||||
String message = "";
|
String message = "";
|
||||||
playerBoard[row][col].setMarked(true);
|
playerBoard[row][col].setMarked(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user