Omletti wrote...
@danpost I tried it, but then all lines in which "getX" or "getY" appear are highlighted :((
and it says "cannot find symbol - method getX()"
// in pseudo-code
public void act()
{
for each cell
{
count neighbors
}
for each cell
{
use neighbors counted to determine new state
}
}