VariableWatcher

org.nlogo.agent.World.VariableWatcher

Attributes

Source
World.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def update(agent: Agent, variableName: String, value: Object): Unit

Called when the watched variable is set.

Called when the watched variable is set.

Value parameters

agent

The agent for which the variable was set

value

The new value of the variable

variableName

The name of the variable as an upper case string

Attributes

Source
World.scala