addGameStateListener method

void addGameStateListener(
  1. VoidCallback callback
)
inherited

Implementation

void addGameStateListener(VoidCallback callback) {
  gameStateListeners.add(callback);
}