Class

org.nlogo.agent

World

Related Doc: package agent

Permalink

class World extends api.World with WorldRenderable with WorldWithWorldRenderable

Source
World.java
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. World
  2. WorldWithWorldRenderable
  3. WorldRenderable
  4. World
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new World()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addWatcher(variableName: String, watcher: VariableWatcher): Unit

    Permalink
  5. def agentKindToAgentSet(agentKind: AgentKind): AgentSet

    Permalink
  6. def allStoredValues(): Iterator[AnyRef]

    Permalink
    Definition Classes
    WorldWorld
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def auxRNG(): MersenneTwisterFast

    Permalink
    Definition Classes
    WorldWorld
  9. def breedOwns(breed: AgentSet, name: String): Boolean

    Permalink
  10. def breedsOwnIndexOf(breed: AgentSet, name: String): Int

    Permalink
  11. def breedsOwnNameAt(breed: api.AgentSet, index: Int): String

    Permalink
    Definition Classes
    WorldWorld
  12. def changeTopology(xWrapping: Boolean, yWrapping: Boolean): Unit

    Permalink
  13. def checkLinkShapeName(name: String): String

    Permalink
  14. def checkTurtleShapeName(name: String): String

    Permalink
  15. def clearAll(): Unit

    Permalink
  16. def clearDrawing(): Unit

    Permalink
  17. def clearGlobals(): Unit

    Permalink
    Definition Classes
    WorldWorld
  18. def clearLinks(): Unit

    Permalink
  19. def clearPatches(): Unit

    Permalink
  20. def clearTurtles(): Unit

    Permalink
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def compareLinkBreeds(breed1: AgentSet, breed2: AgentSet): Int

    Permalink
  23. def compiler(): CompilerServices

    Permalink
  24. def compiler_=(compiler: CompilerServices): Unit

    Permalink
  25. def createPatches(minPxcor: Int, maxPxcor: Int, minPycor: Int, maxPycor: Int): Unit

    Permalink
  26. def createPatches(dim: WorldDimensions): Unit

    Permalink
  27. def createTurtle(breed: AgentSet, c: Int, h: Int): Turtle

    Permalink
  28. def createTurtle(breed: AgentSet): Turtle

    Permalink
  29. def deleteWatcher(variableName: String, watcher: VariableWatcher): Unit

    Permalink
  30. def diffuse(param: Double, vn: Int): Unit

    Permalink
  31. def diffuse4(param: Double, vn: Int): Unit

    Permalink
  32. def displayOn(displayOn: Boolean): Unit

    Permalink
  33. def displayOn(): Boolean

    Permalink
  34. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def equalDimensions(d: WorldDimensions): Boolean

    Permalink
    Definition Classes
    WorldWorld
  36. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  37. def exportWorld(writer: PrintWriter, full: Boolean): Unit

    Permalink
  38. def fastGetPatchAt(xc: Int, yc: Int): Patch

    Permalink
    Definition Classes
    WorldWorld
  39. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def followOffsetX(): Double

    Permalink
    Definition Classes
    WorldWorld
  41. def followOffsetY(): Double

    Permalink
    Definition Classes
    WorldWorld
  42. def generateSeed(): Double

    Permalink
  43. def getBreed(breedName: String): AgentSet

    Permalink
    Definition Classes
    WorldWorld
  44. def getBreedSingular(breed: AgentSet): String

    Permalink
  45. def getBreeds(): Map[String, _ <: AgentSet]

    Permalink
  46. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  47. def getDimensions(): WorldDimensions

    Permalink
    Definition Classes
    WorldWorld
  48. def getDrawing(): AnyRef

    Permalink
    Definition Classes
    WorldWorld
  49. def getLink(end1: Any, end2: Any, breed: AgentSet): Link

    Permalink
  50. def getLinkBreed(breedName: String): AgentSet

    Permalink
    Definition Classes
    WorldWorld
  51. def getLinkBreedSingular(breed: AgentSet): String

    Permalink
  52. def getLinkBreeds(): Map[String, _ <: AgentSet]

    Permalink
  53. def getLinkShape(name: String): Shape

    Permalink
  54. def getLinkVariablesArraySize(breed: AgentSet): Int

    Permalink
  55. def getObserverVariableByName(var: String): AnyRef

    Permalink
  56. def getOrCreateDummyLink(end1: Any, end2: Any, breed: AgentSet): Link

    Permalink
  57. def getOrCreateLink(end1: Turtle, end2: Turtle, breed: AgentSet): Link

    Permalink
  58. def getOrCreateLink(end1: Double, end2: Double, breed: AgentSet): Link

    Permalink
  59. def getOrCreateTurtle(id: Long): Turtle

    Permalink
  60. def getPatch(id: Int): Patch

    Permalink
    Definition Classes
    WorldWorld
  61. def getPatchAt(x: Double, y: Double): Patch

    Permalink
    Definition Classes
    WorldWorld
  62. def getPatchAtWrap(x: Double, y: Double): Patch

    Permalink
  63. def getPatchScratch(): Array[Array[Double]]

    Permalink
  64. def getTurtle(id: Long): Turtle

    Permalink
  65. def getVariablesArraySize(link: api.Link, breed: api.AgentSet): Int

    Permalink
    Definition Classes
    WorldWorld
  66. def getVariablesArraySize(turtle: api.Turtle, breed: api.AgentSet): Int

    Permalink
    Definition Classes
    WorldWorld
  67. def getVariablesArraySize(patch: Patch): Int

    Permalink
  68. def getVariablesArraySize(observer: Observer): Int

    Permalink
  69. def growMax(min: Int, max: Int, value: Int, d: Int): Int

    Permalink
  70. def growMin(min: Int, max: Int, value: Int, d: Int): Int

    Permalink
  71. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  72. def importWorld(errorHandler: ErrorHandler, importerUser: ImporterUser, stringReader: StringReader, reader: BufferedReader): Unit

    Permalink
  73. def indexOfVariable(agent: Agent, name: String): Int

    Permalink
  74. def indexOfVariable(agentKind: AgentKind, name: String): Int

    Permalink
  75. def isBreed(breed: AgentSet): Boolean

    Permalink
  76. def isDimensionVariable(variableName: String): Boolean

    Permalink
    Definition Classes
    WorldWorld
  77. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  78. def isLinkBreed(breed: AgentSet): Boolean

    Permalink
  79. def lineThickness(agent: Agent): Double

    Permalink
  80. def linkBreedOwns(breed: AgentSet, name: String): Boolean

    Permalink
  81. def linkBreedsOwnIndexOf(breed: AgentSet, name: String): Int

    Permalink
  82. def linkBreedsOwnNameAt(breed: AgentSet, index: Int): String

    Permalink
  83. def linkShapeList(): ShapeList

    Permalink
    Definition Classes
    WorldWorld
  84. def linkShapes(): ShapeListTracker

    Permalink
    Definition Classes
    WorldWorld
  85. def links(): AgentSet

    Permalink
    Definition Classes
    WorldWorld
  86. def linksOwnIndexOf(name: String): Int

    Permalink
  87. def linksOwnNameAt(index: Int): String

    Permalink
    Definition Classes
    WorldWorld
  88. def mainRNG(): MersenneTwisterFast

    Permalink
    Definition Classes
    WorldWorld
  89. def markDrawingClean(): Unit

    Permalink
    Definition Classes
    WorldWorld
  90. def markPatchColorsClean(): Unit

    Permalink
    Definition Classes
    WorldWorldRenderable
  91. def markPatchColorsDirty(): Unit

    Permalink
    Definition Classes
    WorldWorldRenderable
  92. def maxPxcor(): Int

    Permalink
    Definition Classes
    WorldWorld
  93. def maxPxcorBoxed(): Double

    Permalink
  94. def maxPycor(): Int

    Permalink
    Definition Classes
    WorldWorld
  95. def maxPycorBoxed(): Double

    Permalink
  96. def mayHavePartiallyTransparentObjects(): Boolean

    Permalink

    Returns true if there is at least one partially transparent turtle, patch, link, or 3D stamp present.

    Returns true if there is at least one partially transparent turtle, patch, link, or 3D stamp present. This determines whether it is necessary to sort the objects by their distance to the observer before rendering, which is necessary for transparency to work in OpenGL.

    returns

    True if the scene has at least one partially transparent item

    Definition Classes
    WorldWorldRenderable
  97. def minPxcor(): Int

    Permalink
    Definition Classes
    WorldWorld
  98. def minPxcorBoxed(): Double

    Permalink
  99. def minPycor(): Int

    Permalink
    Definition Classes
    WorldWorld
  100. def minPycorBoxed(): Double

    Permalink
  101. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  102. def newProgram(interfaceGlobals: Seq[String]): Program

    Permalink
  103. def newProgram(): Program

    Permalink
  104. def noLinks(): AgentSet

    Permalink
  105. def noPatches(): AgentSet

    Permalink
  106. def noTurtles(): AgentSet

    Permalink
  107. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  108. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  109. def observer(): Observer

    Permalink
    Definition Classes
    WorldWorld
  110. def observerOwnsIndexOf(name: String): Int

    Permalink
    Definition Classes
    WorldWorld
  111. def observerOwnsNameAt(index: Int): String

    Permalink
  112. def observers(): AgentSet

    Permalink
  113. def patchColors(): Array[Int]

    Permalink
    Definition Classes
    WorldWorld
  114. def patchColorsDirty(): Boolean

    Permalink
    Definition Classes
    WorldWorldRenderable
  115. def patchSize(patchSize: Double): Boolean

    Permalink
  116. def patchSize(): Double

    Permalink
    Definition Classes
    WorldWorld
  117. def patches(): AgentSet

    Permalink
    Definition Classes
    WorldWorld
  118. def patchesAllBlack(): Boolean

    Permalink
    Definition Classes
    WorldWorld
  119. def patchesOwnIndexOf(name: String): Int

    Permalink
  120. def patchesOwnNameAt(index: Int): String

    Permalink
  121. def patchesWithLabels(): Int

    Permalink
    Definition Classes
    WorldWorld
  122. def program(program: Program): Unit

    Permalink
  123. def program(): Program

    Permalink
    Definition Classes
    WorldWorld
  124. def protractor(): Protractor

    Permalink
    Definition Classes
    WorldWorld
  125. def realloc(): Unit

    Permalink
    Definition Classes
    WorldWorld
  126. def rememberOldProgram(): Unit

    Permalink
  127. def removeLineThickness(agent: Agent): Unit

    Permalink
  128. def roundX(x: Double): Int

    Permalink
  129. def roundY(y: Double): Int

    Permalink
  130. def sendPixels(): Boolean

    Permalink
    Definition Classes
    WorldWorld
  131. def setDimensionVariable(variableName: String, value: Int, d: WorldDimensions): WorldDimensions

    Permalink
  132. def setLineThickness(agent: Agent, size: Double): Unit

    Permalink
  133. def setObserverVariableByName(var: String, value: Any): Unit

    Permalink
    Definition Classes
    WorldWorld
  134. def setUpShapes(clearOld: Boolean): Unit

    Permalink
  135. def stamp(agent: Agent, erase: Boolean): Unit

    Permalink
  136. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  137. def ticks(): Double

    Permalink
    Definition Classes
    WorldWorld
  138. def timer(): Timer

    Permalink
    Definition Classes
    WorldWorld
  139. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  140. def trailDrawer(): TrailDrawerInterface

    Permalink
    Definition Classes
    WorldWorld
  141. def trailDrawer(trailDrawer: TrailDrawerInterface): Unit

    Permalink
  142. def turtleShapeList(): ShapeList

    Permalink
    Definition Classes
    WorldWorld
  143. def turtleShapes(): ShapeListTracker

    Permalink
    Definition Classes
    WorldWorld
  144. def turtles(): AgentSet

    Permalink
    Definition Classes
    WorldWorld
  145. def turtlesOwnIndexOf(name: String): Int

    Permalink
  146. def turtlesOwnNameAt(index: Int): String

    Permalink
    Definition Classes
    WorldWorld
  147. def validPatchCoordinates(xc: Int, yc: Int): Boolean

    Permalink
  148. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  150. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  151. def worldHeight(): Int

    Permalink
    Definition Classes
    WorldWorld
  152. def worldHeightBoxed(): Double

    Permalink
  153. def worldWidth(): Int

    Permalink
    Definition Classes
    WorldWorld
  154. def worldWidthBoxed(): Double

    Permalink
  155. def wrap(pos: Double, min: Double, max: Double): Double

    Permalink
    Definition Classes
    WorldWorld
  156. def wrapX(x: Double): Double

    Permalink
    Definition Classes
    WorldWorld
  157. def wrapY(y: Double): Double

    Permalink
    Definition Classes
    WorldWorld
  158. def wrappedObserverX(x: Double): Double

    Permalink
    Definition Classes
    WorldWorld
  159. def wrappedObserverY(y: Double): Double

    Permalink
    Definition Classes
    WorldWorld
  160. def wrappingAllowedInX(): Boolean

    Permalink
    Definition Classes
    WorldWorld
  161. def wrappingAllowedInY(): Boolean

    Permalink
    Definition Classes
    WorldWorld

Inherited from WorldWithWorldRenderable

Inherited from WorldRenderable

Inherited from api.World

Inherited from AnyRef

Inherited from Any

Ungrouped