示例#1
0
 private void toggleCell(Position position) {
   Cell cell = this.board.getCurrentRound().get(position);
   cell.setAlive(!cell.isAlive());
   this.board.updateCell(cell);
 }