Class

org.nlogo.agent

World

Related Doc: package agent

Permalink

class World extends api.World

Source
World.java
Linear Supertypes
api.World, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. World
  2. World
  3. AnyRef
  4. 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 agentClassToAgentSet(agentClass: Class[_ <: Agent]): AgentSet

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

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

    Permalink
    Definition Classes
    Any
  8. def breedOwns(breed: AgentSet, name: String): Boolean

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

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

    Permalink
    Definition Classes
    World → World
  11. def changeTopology(xWrapping: Boolean, yWrapping: Boolean): Unit

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

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

    Permalink
  14. def clearAll(): Unit

    Permalink
  15. def clearDrawing(): Unit

    Permalink
  16. def clearGlobals(): Unit

    Permalink
    Definition Classes
    World → World
  17. def clearLinks(): Unit

    Permalink
  18. def clearPatches(): Unit

    Permalink
  19. def clearTurtles(): Unit

    Permalink
  20. def clone(): AnyRef

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

    Permalink
  22. def compiler(): CompilerServices

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

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

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

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

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

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

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

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

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

    Permalink
  32. def displayOn(): Boolean

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

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

    Permalink
  35. def equals(arg0: Any): Boolean

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

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

    Permalink
    Definition Classes
    World → World
  38. def finalize(): Unit

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

    Permalink
    Definition Classes
    World → World
  40. def followOffsetY(): Double

    Permalink
    Definition Classes
    World → World
  41. def generateSeed(): Double

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

    Permalink
  43. def getBreedSingular(breed: AgentSet): String

    Permalink
  44. def getBreeds(): Map[String, AnyRef]

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

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

    Permalink
  47. def getDrawing(): AnyRef

    Permalink
    Definition Classes
    World → World
  48. def getLink(end1: Any, end2: Any, breed: AgentSet): Link

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

    Permalink
  50. def getLinkBreedSingular(breed: AgentSet): String

    Permalink
  51. def getLinkBreeds(): Map[String, AnyRef]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    World → World
  60. def getPatchAt(x: Double, y: Double): Patch

    Permalink
    Definition Classes
    World → World
  61. def getPatchAtWrap(x: Double, y: Double): Patch

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

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

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

    Permalink
    Definition Classes
    World → World
  65. def getVariablesArraySize(turtle: api.Turtle, breed: api.AgentSet): Int

    Permalink
    Definition Classes
    World → World
  66. def getVariablesArraySize(patch: Patch): Int

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

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

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

    Permalink
  70. def hashCode(): Int

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

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

    Permalink
  73. def indexOfVariable(agentClass: Class[_ <: Agent], name: String): Int

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

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

    Permalink
  76. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

    Permalink
  82. def linkShapeList(): ShapeList

    Permalink
    Definition Classes
    World → World
  83. def links(): AgentSet

    Permalink
    Definition Classes
    World → World
  84. def linksOwnIndexOf(name: String): Int

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

    Permalink
    Definition Classes
    World → World
  86. def markDrawingClean(): Unit

    Permalink
    Definition Classes
    World → World
  87. def markPatchColorsClean(): Unit

    Permalink
    Definition Classes
    World → World
  88. def markPatchColorsDirty(): Unit

    Permalink
    Definition Classes
    World → World
  89. def maxPxcor(): Int

    Permalink
    Definition Classes
    World → World
  90. def maxPxcorBoxed(): Double

    Permalink
  91. def maxPycor(): Int

    Permalink
    Definition Classes
    World → World
  92. def maxPycorBoxed(): Double

    Permalink
  93. 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
    World → World
  94. def minPxcor(): Int

    Permalink
    Definition Classes
    World → World
  95. def minPxcorBoxed(): Double

    Permalink
  96. def minPycor(): Int

    Permalink
    Definition Classes
    World → World
  97. def minPycorBoxed(): Double

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

    Permalink
    Definition Classes
    AnyRef
  99. def newProgram(interfaceGlobals: List[String]): Program

    Permalink
  100. def newProgram(): Program

    Permalink
  101. def noLinks(): AgentSet

    Permalink
  102. def noPatches(): AgentSet

    Permalink
  103. def noTurtles(): AgentSet

    Permalink
  104. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    World → World
  107. def observerOwnsIndexOf(name: String): Int

    Permalink
  108. def observerOwnsNameAt(index: Int): String

    Permalink
  109. def observers(): AgentSet

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

    Permalink
    Definition Classes
    World → World
  111. def patchColorsDirty(): Boolean

    Permalink
    Definition Classes
    World → World
  112. def patchSize(patchSize: Double): Boolean

    Permalink
  113. def patchSize(): Double

    Permalink
    Definition Classes
    World → World
  114. def patches(): AgentSet

    Permalink
    Definition Classes
    World → World
  115. def patchesAllBlack(): Boolean

    Permalink
    Definition Classes
    World → World
  116. def patchesOwnIndexOf(name: String): Int

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

    Permalink
  118. def patchesWithLabels(): Int

    Permalink
    Definition Classes
    World → World
  119. def program(program: Program): Unit

    Permalink
  120. def program(): Program

    Permalink
    Definition Classes
    World → World
  121. def protractor(): Protractor

    Permalink
    Definition Classes
    World → World
  122. def realloc(): Unit

    Permalink
  123. def rememberOldProgram(): Unit

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

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

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

    Permalink
  127. def sendPixels(): Boolean

    Permalink
    Definition Classes
    World → World
  128. def setDimensionVariable(variableName: String, value: Int, d: WorldDimensions): WorldDimensions

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

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

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

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

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

    Permalink
    Definition Classes
    World → World
  134. def toString(): String

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

    Permalink
  136. def turtleShapeList(): ShapeList

    Permalink
    Definition Classes
    World → World
  137. def turtles(): AgentSet

    Permalink
    Definition Classes
    World → World
  138. def turtlesOwnIndexOf(name: String): Int

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

    Permalink
    Definition Classes
    World → World
  140. def validPatchCoordinates(xc: Int, yc: Int): Boolean

    Permalink
  141. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    World → World
  145. def worldHeightBoxed(): Double

    Permalink
  146. def worldWidth(): Int

    Permalink
    Definition Classes
    World → World
  147. def worldWidthBoxed(): Double

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

    Permalink
    Definition Classes
    World → World
  149. def wrapX(x: Double): Double

    Permalink
    Definition Classes
    World → World
  150. def wrapY(y: Double): Double

    Permalink
    Definition Classes
    World → World
  151. def wrappedObserverX(x: Double): Double

    Permalink
    Definition Classes
    World → World
  152. def wrappedObserverY(y: Double): Double

    Permalink
    Definition Classes
    World → World
  153. def wrappingAllowedInX(): Boolean

    Permalink
    Definition Classes
    World → World
  154. def wrappingAllowedInY(): Boolean

    Permalink
    Definition Classes
    World → World

Inherited from api.World

Inherited from AnyRef

Inherited from Any

Ungrouped