All pastes #14190 Raw Edit

Something

public java v1 · immutable
#14190 ·published 2005-06-12 23:06 UTC
rendered paste body
 private void nextGeneration()    {    	this.tempGrid = new Cell[xDim][yDim];    	    	   	        for(int i = 0; i < this.xDim; i++)        {            for(int j = 0; j < this.yDim; j++)            {            	Cell c = new Cell(i, j);            	c.setAlive(this.grid[i][j].alive);                this.tempGrid[i][j] = c;                }        }              	    	// Nächste Runde berechnen        for(int i = 0; i < this.yDim; i++)        {            for(int j = 0; j < this.xDim; j++)            {                if(???????.???????.??????checkRtol(i, j) == true)<----das da!!!                   this.grid[i][j].setAlive(true);                else                   this.grid[i][j].setAlive(false);            }        }                        }