Browse Source

Added player turn methods

master
TRC9696 2 years ago
parent
commit
83f82cce6e
  1. 12
      src/main/java/game/StartTicTacToeGame.java

12
src/main/java/game/StartTicTacToeGame.java

@ -133,6 +133,18 @@ public class StartTicTacToeGame implements ActionListener{
}
public void player1Turn() {
player1Turn = true;
player2Turn = false;
}
public void player2Turn() {
player1Turn = false;
player2Turn = true;
}
@Override

Loading…
Cancel
Save