pause method

void pause()

Suspends bots and automatic moves, and blocks rollDice and selectPiece until resume is called. A move already animating finishes normally.

Implementation

void pause() {
  if (_paused) return;
  _paused = true;
  _cancelTimer();
  _notify();
}