Examples of pcolorDoubleUnchecked()


Examples of org.nlogo.agent.Patch.pcolorDoubleUnchecked()

      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()])
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.