init method

void init(
  1. ChessBoardInterface newGame
)

Implementation

void init(ChessBoardInterface newGame) {
  _game = newGame;
  notifyListeners();
}