/**
  * Setup the board game size.
  *
  * @param rows
  * @param cols
  */
 public void setupBoard(int rows, int cols) {
   if (board == null) {
     board = new LifeAndDeathBoard();
   }
   board.setRows(rows);
   board.setCols(cols);
 }
 /** Advances the current generation to the next. */
 public void advanceGeneration() {
   board.advanceGeneration();
 }
 /** Starts a new game. */
 public void startGame() {
   if (board == null) {
     board = new LifeAndDeathBoard();
   }
   board.startGame();
 }