示例#1
0
  public void afterAnimation() {
    if (stateToSetAfterAnimation.getLastMoveWasOppositeCapture()) graphics.oppositeCaptureSound();

    state = stateToSetAfterAnimation.copyState();
    updateBoard();

    if (aiMatch) sendMoveToServerAI(lastMove, state);
  }
示例#2
0
  void setState(State state) {
    this.state = state;

    updateBoard();
  }