@Override public void onOWin() { gameStateEntry.setValueText(getString(R.string.o_wins)); getContract().notifyGameFinished(); }
@Override public void onDraw() { gameStateEntry.setValueText(getString(R.string.draw)); getContract().notifyGameFinished(); }
@Override public void onPlayerTurn(TicTacToeGame.Player player) { turnEntry.setValueText(player.name()); gameView.setTurn(player); }