void function ( ) { this . gameField = this . calculateNextField ( this . gameField ) ; this . numberOfIterations ++ ; }
run one simulation step , i.e. determine the population of the next generation and change the game field accordingly . concode_field_sep int numberOfIterations concode_elem_sep GameOfLifeField gameField concode_field_sep int getNumberOfIterations concode_elem_sep GameOfLifeField calculateNextField concode_elem_sep GameOfLifeField getCurrentGameField concode_elem_sep void main