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()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addWatcher(variableName: String, watcher: VariableWatcher): Unit

    A watcher to be notified every time the given variable changes for any agent.

    A watcher to be notified every time the given variable changes for any agent.

    variableName

    The variable name to watch as an upper case string; e.g. "XCOR"

    watcher

    The watcher to notify when the variable changes

  5. def agentKindToAgentSet(agentKind: AgentKind): AgentSet
  6. def allStoredValues(): Iterator[AnyRef]
    Definition Classes
    WorldWorld
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def auxRNG(): MersenneTwisterFast
    Definition Classes
    WorldWorld
  9. def breedOwns(breed: AgentSet, name: String): Boolean
  10. def breedsOwnIndexOf(breed: AgentSet, name: String): Int
  11. def breedsOwnNameAt(breed: api.AgentSet, index: Int): String
    Definition Classes
    WorldWorld
  12. def changeTopology(xWrapping: Boolean, yWrapping: Boolean): Unit
  13. def checkLinkShapeName(name: String): String
  14. def checkTurtleShapeName(name: String): String
  15. def clearAll(): Unit
  16. def clearDrawing(): Unit
  17. def clearGlobals(): Unit
    Definition Classes
    WorldWorld
  18. def clearLinks(): Unit
  19. def clearPatches(): Unit
  20. def clearTurtles(): Unit
  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def compareLinkBreeds(breed1: AgentSet, breed2: AgentSet): Int
  23. def compiler(): CompilerServices
  24. def compiler_=(compiler: CompilerServices): Unit
  25. def createPatches(minPxcor: Int, maxPxcor: Int, minPycor: Int, maxPycor: Int): Unit
  26. def createPatches(dim: WorldDimensions): Unit
  27. def createTurtle(breed: AgentSet, c: Int, h: Int): Turtle
  28. def createTurtle(breed: AgentSet): Turtle
  29. def deleteWatcher(variableName: String, watcher: VariableWatcher): Unit

    Deletes a variable watcher.

    Deletes a variable watcher.

    variableName

    The watched variable name as an upper case string; e.g. "XCOR"

    watcher

    The watcher to delete

  30. def diffuse(param: Double, vn: Int): Unit
  31. def diffuse4(param: Double, vn: Int): Unit
  32. def displayOn(displayOn: Boolean): Unit
  33. def displayOn(): Boolean
  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def equalDimensions(d: WorldDimensions): Boolean
    Definition Classes
    WorldWorld
  36. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  37. def exportWorld(writer: PrintWriter, full: Boolean): Unit
  38. def fastGetPatchAt(xc: Int, yc: Int): Patch
    Definition Classes
    WorldWorld
  39. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def followOffsetX(): Double
    Definition Classes
    WorldWorld
  41. def followOffsetY(): Double
    Definition Classes
    WorldWorld
  42. def generateSeed(): Double
  43. def getBreed(breedName: String): AgentSet
    Definition Classes
    WorldWorld
  44. def getBreedSingular(breed: AgentSet): String
  45. def getBreeds(): Map[String, _ <: AgentSet]
  46. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  47. def getDimensions(): WorldDimensions
    Definition Classes
    WorldWorld
  48. def getDrawing(): AnyRef
    Definition Classes
    WorldWorld
  49. def getLink(end1: Any, end2: Any, breed: AgentSet): Link
  50. def getLinkBreed(breedName: String): AgentSet
    Definition Classes
    WorldWorld
  51. def getLinkBreedSingular(breed: AgentSet): String
  52. def getLinkBreeds(): Map[String, _ <: AgentSet]
  53. def getLinkShape(name: String): Shape
  54. def getLinkVariablesArraySize(breed: AgentSet): Int
  55. def getObserverVariableByName(var: String): AnyRef
  56. def getOrCreateDummyLink(end1: Any, end2: Any, breed: AgentSet): Link
  57. def getOrCreateLink(end1: Turtle, end2: Turtle, breed: AgentSet): Link
  58. def getOrCreateLink(end1: Double, end2: Double, breed: AgentSet): Link
  59. def getOrCreateTurtle(id: Long): Turtle
  60. def getPatch(id: Int): Patch
    Definition Classes
    WorldWorld
  61. def getPatchAt(x: Double, y: Double): Patch
    Definition Classes
    WorldWorld
  62. def getPatchAtWrap(x: Double, y: Double): Patch
  63. def getPatchScratch(): Array[Array[Double]]
  64. def getTurtle(id: Long): Turtle
  65. def getVariablesArraySize(link: api.Link, breed: api.AgentSet): Int
    Definition Classes
    WorldWorld
  66. def getVariablesArraySize(turtle: api.Turtle, breed: api.AgentSet): Int
    Definition Classes
    WorldWorld
  67. def getVariablesArraySize(patch: Patch): Int
  68. def getVariablesArraySize(observer: Observer): Int
  69. def growMax(min: Int, max: Int, value: Int, d: Int): Int
  70. def growMin(min: Int, max: Int, value: Int, d: Int): Int
  71. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  72. def importWorld(errorHandler: ErrorHandler, importerUser: ImporterUser, stringReader: StringReader, reader: BufferedReader): Unit
  73. def indexOfVariable(agent: Agent, name: String): Int
  74. def indexOfVariable(agentKind: AgentKind, name: String): Int
  75. def isBreed(breed: AgentSet): Boolean
  76. def isDimensionVariable(variableName: String): Boolean
    Definition Classes
    WorldWorld
  77. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  78. def isLinkBreed(breed: AgentSet): Boolean
  79. def lineThickness(agent: Agent): Double
  80. def linkBreedOwns(breed: AgentSet, name: String): Boolean
  81. def linkBreedsOwnIndexOf(breed: AgentSet, name: String): Int
  82. def linkBreedsOwnNameAt(breed: AgentSet, index: Int): String
  83. def linkShapeList(): ShapeList
    Definition Classes
    WorldWorld
  84. def linkShapes(): ShapeListTracker
    Definition Classes
    WorldWorld
  85. def links(): TreeAgentSet
    Definition Classes
    WorldWorld
  86. def linksOwnIndexOf(name: String): Int
  87. def linksOwnNameAt(index: Int): String
    Definition Classes
    WorldWorld
  88. def mainRNG(): MersenneTwisterFast
    Definition Classes
    WorldWorld
  89. def markDrawingClean(): Unit
    Definition Classes
    WorldWorld
  90. def markPatchColorsClean(): Unit
    Definition Classes
    WorldWorldRenderable
  91. def markPatchColorsDirty(): Unit
    Definition Classes
    WorldWorldRenderable
  92. def maxPxcor(): Int
    Definition Classes
    WorldWorld
  93. def maxPxcorBoxed(): Double
  94. def maxPycor(): Int
    Definition Classes
    WorldWorld
  95. def maxPycorBoxed(): Double
  96. def mayHavePartiallyTransparentObjects(): Boolean

    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
    Definition Classes
    WorldWorld
  98. def minPxcorBoxed(): Double
  99. def minPycor(): Int
    Definition Classes
    WorldWorld
  100. def minPycorBoxed(): Double
  101. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  102. def newProgram(interfaceGlobals: Seq[String]): Program
  103. def newProgram(): Program
  104. def noLinks(): AgentSet
  105. def noPatches(): AgentSet
  106. def noTurtles(): AgentSet
  107. final def notify(): Unit
    Definition Classes
    AnyRef
  108. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  109. def observer(): Observer
    Definition Classes
    WorldWorld
  110. def observerOwnsIndexOf(name: String): Int
    Definition Classes
    WorldWorld
  111. def observerOwnsNameAt(index: Int): String
  112. def observers(): AgentSet
  113. def patchColors(): Array[Int]
    Definition Classes
    WorldWorld
  114. def patchColorsDirty(): Boolean
    Definition Classes
    WorldWorldRenderable
  115. def patchSize(patchSize: Double): Boolean
  116. def patchSize(): Double
    Definition Classes
    WorldWorld
  117. def patches(): AgentSet
    Definition Classes
    WorldWorld
  118. def patchesAllBlack(): Boolean
    Definition Classes
    WorldWorld
  119. def patchesOwnIndexOf(name: String): Int
  120. def patchesOwnNameAt(index: Int): String
  121. def patchesWithLabels(): Int
    Definition Classes
    WorldWorld
  122. def program(program: Program): Unit
  123. def program(): Program
    Definition Classes
    WorldWorld
  124. def protractor(): Protractor
    Definition Classes
    WorldWorld
  125. def realloc(): Unit
    Definition Classes
    WorldWorld
  126. def rememberOldProgram(): Unit
  127. def removeLineThickness(agent: Agent): Unit
  128. def roundX(x: Double): Int
  129. def roundY(y: Double): Int
  130. def sendPixels(): Boolean
    Definition Classes
    WorldWorld
  131. def setDimensionVariable(variableName: String, value: Int, d: WorldDimensions): WorldDimensions
  132. def setLineThickness(agent: Agent, size: Double): Unit
  133. def setObserverVariableByName(var: String, value: Any): Unit
    Definition Classes
    WorldWorld
  134. def setUpShapes(clearOld: Boolean): Unit
  135. def stamp(agent: Agent, erase: Boolean): Unit
  136. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  137. def ticks(): Double
    Definition Classes
    WorldWorld
  138. def timer(): Timer
    Definition Classes
    WorldWorld
  139. def toString(): String
    Definition Classes
    AnyRef → Any
  140. def trailDrawer(): TrailDrawerInterface
    Definition Classes
    WorldWorld
  141. def trailDrawer(trailDrawer: TrailDrawerInterface): Unit
  142. def turtleShapeList(): ShapeList
    Definition Classes
    WorldWorld
  143. def turtleShapes(): ShapeListTracker
    Definition Classes
    WorldWorld
  144. def turtles(): TreeAgentSet
    Definition Classes
    WorldWorld
  145. def turtlesOwnIndexOf(name: String): Int
  146. def turtlesOwnNameAt(index: Int): String
    Definition Classes
    WorldWorld
  147. def validPatchCoordinates(xc: Int, yc: Int): Boolean
  148. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  150. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  151. def worldHeight(): Int
    Definition Classes
    WorldWorld
  152. def worldHeightBoxed(): Double
  153. def worldWidth(): Int
    Definition Classes
    WorldWorld
  154. def worldWidthBoxed(): Double
  155. def wrap(pos: Double, min: Double, max: Double): Double
    Definition Classes
    WorldWorld
  156. def wrapX(x: Double): Double
    Definition Classes
    WorldWorld
  157. def wrapY(y: Double): Double
    Definition Classes
    WorldWorld
  158. def wrappedObserverX(x: Double): Double
    Definition Classes
    WorldWorld
  159. def wrappedObserverY(y: Double): Double
    Definition Classes
    WorldWorld
  160. def wrappingAllowedInX(): Boolean
    Definition Classes
    WorldWorld
  161. def wrappingAllowedInY(): Boolean
    Definition Classes
    WorldWorld

Inherited from WorldWithWorldRenderable

Inherited from WorldRenderable

Inherited from api.World

Inherited from AnyRef

Inherited from Any

Ungrouped