Package org.nlogo.api

Examples of org.nlogo.api.WorldDimensions


        maxy = sey;
      }

      if (minx != world.minPxcor() || maxx != world.maxPxcor() ||
          miny != world.minPycor() || maxy != world.maxPycor()) {
        importerUser.setDimensions(new WorldDimensions(minx, maxx, miny, maxy));
        needToResize = true;
      }
    } catch (ClassCastException cce) {
      String abortingError = "Illegal Screen dimension- max-px/ycor, min-px/ycor must be numbers.";
      throw new AbortingImportException
View Full Code Here


    throw new IllegalArgumentException
        ("agentClass = " + agentClass);
  }

  public WorldDimensions getDimensions() {
    return new WorldDimensions(_minPxcor, _maxPxcor, _minPycor, _maxPycor);
  }
View Full Code Here

TOP

Related Classes of org.nlogo.api.WorldDimensions

Copyright © 2018 www.massapicom. 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.