trait CoreWorld extends WorldWithWorldRenderable with WorldKernel with WatcherManagement
- Alphabetic
- By Inheritance
- CoreWorld
- WatcherManagement
- WorldKernel
- WorldWithWorldRenderable
- WorldRenderable
- World
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
_links: TreeAgentSet
- Attributes
- protected
-
abstract
def
breeds: Map[String, TreeAgentSet]
- Definition Classes
- WorldKernel
-
abstract
def
breedsOwnNameAt(breed: api.AgentSet, i: Int): String
- Definition Classes
- World
-
abstract
def
clearGlobals(): Unit
- Definition Classes
- World
-
abstract
def
equalDimensions(d: WorldDimensions): Boolean
- Definition Classes
- World
-
abstract
def
fastGetPatchAt(x: Int, y: Int): api.Patch
- Definition Classes
- World
-
abstract
def
followOffsetX: Double
- Definition Classes
- World
-
abstract
def
followOffsetY: Double
- Definition Classes
- World
-
abstract
def
getBreed(name: String): api.AgentSet
- Definition Classes
- World
- abstract def getBreedSingular(breed: AgentSet): String
-
abstract
def
getDimensions: WorldDimensions
- Definition Classes
- World
-
abstract
def
getDrawing: AnyRef
- Definition Classes
- World
-
abstract
def
getLinkBreed(name: String): api.AgentSet
- Definition Classes
- World
- abstract def getLinkBreedSingular(breed: AgentSet): String
- abstract def getLinkVariablesArraySize(breed: AgentSet): Int
-
abstract
def
getPatch(i: Int): api.Patch
- Definition Classes
- World
-
abstract
def
getPatchAt(x: Double, y: Double): api.Patch
- Definition Classes
- World
- Annotations
- @throws( classOf[AgentException] )
-
abstract
def
getVariablesArraySize(turtle: api.Turtle, breed: api.AgentSet): Int
- Definition Classes
- World
-
abstract
def
getVariablesArraySize(link: api.Link, breed: api.AgentSet): Int
- Definition Classes
- World
-
abstract
def
isDimensionVariable(variableName: String): Boolean
- Definition Classes
- World
-
abstract
def
linkBreeds: Map[String, TreeAgentSet]
- Definition Classes
- WorldKernel
- abstract def linkManager: LinkManager
-
abstract
def
linkShapeList: ShapeList
- Definition Classes
- World
-
abstract
def
linkShapes: ShapeListTracker
- Definition Classes
- World
-
abstract
def
linksOwnNameAt(i: Int): String
- Definition Classes
- World
-
abstract
def
markDrawingClean(): Unit
- Definition Classes
- World
-
abstract
def
markPatchColorsClean(): Unit
- Definition Classes
- WorldRenderable
-
abstract
def
markPatchColorsDirty(): Unit
- Definition Classes
- WorldRenderable
- abstract def maxPxcor: Int
- abstract def maxPycor: Int
-
abstract
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
- WorldRenderable
- abstract def minPxcor: Int
- abstract def minPycor: Int
-
abstract
def
observer: Observer
- Definition Classes
- WorldKernel
-
abstract
def
observerOwnsIndexOf(name: String): Int
- Definition Classes
- World
-
abstract
def
observers: AgentSet
- Definition Classes
- WorldKernel
-
abstract
def
patchColors: Array[Int]
- Definition Classes
- World
-
abstract
def
patchColorsDirty: Boolean
- Definition Classes
- WorldRenderable
-
abstract
def
patchSize: Double
- Definition Classes
- World
-
abstract
def
patchesAllBlack: Boolean
- Definition Classes
- World
-
abstract
def
patchesWithLabels: Int
- Definition Classes
- World
-
abstract
def
program: Program
- Definition Classes
- WorldKernel
-
abstract
def
protractor: api.Protractor
- Definition Classes
- World
-
abstract
def
realloc(): Unit
- Definition Classes
- World
-
abstract
def
sendPixels: Boolean
- Definition Classes
- World
-
abstract
def
setObserverVariableByName(variableName: String, value: AnyRef): Unit
- Definition Classes
- World
- Annotations
- @throws( classOf[AgentException] )
- abstract val tieManager: TieManager
-
abstract
def
trailDrawer: TrailDrawerInterface
- Definition Classes
- World
-
abstract
def
turtleShapeList: ShapeList
- Definition Classes
- World
-
abstract
def
turtleShapes: ShapeListTracker
- Definition Classes
- World
-
abstract
def
turtles: TreeAgentSet
- Definition Classes
- WorldKernel
-
abstract
def
turtlesOwnNameAt(i: Int): String
- Definition Classes
- World
- abstract def worldHeight: Int
- abstract def worldWidth: Int
-
abstract
def
wrap(pos: Double, min: Double, max: Double): Double
- Definition Classes
- World
-
abstract
def
wrapX(x: Double): Double
- Definition Classes
- World
- Annotations
- @throws( classOf[AgentException] )
-
abstract
def
wrapY(y: Double): Double
- Definition Classes
- World
- Annotations
- @throws( classOf[AgentException] )
-
abstract
def
wrappedObserverX(x: Double): Double
- Definition Classes
- World
-
abstract
def
wrappedObserverY(y: Double): Double
- Definition Classes
- World
-
abstract
def
wrappingAllowedInX: Boolean
- Definition Classes
- World
-
abstract
def
wrappingAllowedInY: Boolean
- Definition Classes
- World
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- Definition Classes
- WatcherManagement
- def allStoredValues: Iterator[AnyRef]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val auxRNG: MersenneTwisterFast
-
def
clearAll(): Unit
- Definition Classes
- CoreWorld → WorldKernel
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
- Definition Classes
- WatcherManagement
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def generateSeed: Double
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
links: TreeAgentSet
- Definition Classes
- CoreWorld → WorldKernel → World
- val mainRNG: MersenneTwisterFast
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
notifyWatchers(agent: Agent, vn: Int, value: AnyRef): Unit
- Definition Classes
- WatcherManagement
-
def
patches: IndexedAgentSet
- Definition Classes
- CoreWorld → WorldKernel → World
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tickCounter: TickCounter
- def ticks: Double
- val timer: Timer
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
topology: Topology
- Definition Classes
- CoreWorld → WorldKernel
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )