Home
last modified time | relevance | path

Searched refs:getCurrentPlayer (Results 1 – 2 of 2) sorted by relevance

/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java88 State player = mGameView.getCurrentPlayer(); in onResume()
122 if (mGameView.getCurrentPlayer() == State.PLAYER1) { in onCellSelected()
132 State player = mGameView.getCurrentPlayer(); in onClick()
160 mGameView.setCell(index, mGameView.getCurrentPlayer()); in handleMessage()
178 State player = mGameView.getCurrentPlayer(); in finishTurn()
DGameView.java176 public State getCurrentPlayer() { in getCurrentPlayer() method in GameView