public void addGameListener(GameListener listener){
  if (gameListeners == null) {
    gameListeners=new Vector<GameListener>();
  }
  gameListeners.addElement(listener);
}

public void addGameListener ( GameListener listener ) { if ( gameListeners == null ) { gameListeners = new Vector < GameListener > ( ) ; } gameListeners . addElement ( listener ) ; }
adds the specified game listener to receive board events from this board .
