if (pcolor == GREEN) {
if (((Double) patch.variables[COUNTS_VAR]).doubleValue() > 0) {
// set fire 1
patch.variables[FIRE_VAR] = World.ONE;
// set pcolor red
patch.pcolorDoubleUnchecked(BOXED_RED);
// set burned-trees burned-trees + 1
world.observer().variables[BURNED_TREES_VAR] =
Double.valueOf
(((Double) world.observer().variables
[world.program().interfaceGlobals().size()])