Package | Description |
---|---|
org.simbrain.world.odorworld |
The world.odorworld package describes a world in which an agent can move
around and smell objects, which are coded as vectors of values which diminish in various
ways as the agent is closer or farther from the agent.
|
org.simbrain.world.odorworld.actions |
The odorworld.actions package contains classes of actions (mainly used in menus) for Odor World.
|
org.simbrain.world.odorworld.behaviors |
The odorworld.behaviors package contains classes for the implementation of the behavior interface and related classes of the different types of behaviors.
|
org.simbrain.world.odorworld.dialogs |
The odorworld.dialog package contains classes for creating and editing dialogs within Odor World.
|
org.simbrain.world.odorworld.effectors |
The world.odorworld.effectors package contains effects that can be added to objects to allow
them to move in custom ways.
|
org.simbrain.world.odorworld.entities |
The odorworld.entites package contains classes for managing and editing entities in Ordor World.
|
org.simbrain.world.odorworld.sensors |
The odorworld.sensors package contains classes of different types of sensors for receiving information from the Odor World envirnoment.
|
Modifier and Type | Field and Description |
---|---|
(package private) OdorWorldEntity |
LifeCycle.parent
Parent entity.
|
Modifier and Type | Method and Description |
---|---|
static OdorWorldEntity |
WorldClipboard.getClipboardEntity() |
OdorWorldEntity |
OdorWorld.getEntity(java.lang.String id)
Returns the entity with the given id, or, failing that, a given name.
|
OdorWorldEntity |
LifeCycle.getParent() |
OdorWorldEntity |
OdorWorldPanel.getSelectedEntity() |
Modifier and Type | Method and Description |
---|---|
java.util.List<OdorWorldEntity> |
OdorWorld.getObjectList()
Returns the list of entities.
|
Modifier and Type | Method and Description |
---|---|
void |
OdorWorld.addAgent(OdorWorldEntity entity)
Adds an agent and by default adds several sensors and effectors to it.
|
void |
OdorWorld.addEntity(OdorWorldEntity entity)
Add an Odor World Entity.
|
void |
TileMap.addSprite(OdorWorldEntity sprite)
Adds a OdorWorldEntity object to this map.
|
javax.swing.JPopupMenu |
OdorWorldPanel.buildPopupMenu(OdorWorldEntity theEntity)
Create a popup menu based on location of mouse click.
|
boolean |
OdorWorld.containsEntity(OdorWorldEntity entity)
Does the world contain this entity?
|
static void |
WorldClipboard.copyItem(OdorWorldEntity entity)
Copy an abstract entity from a world.
|
static void |
WorldClipboard.cutItem(OdorWorldEntity selectedEntity,
OdorWorldPanel parent)
Cuts an object from a world.
|
void |
OdorWorld.deleteEntity(OdorWorldEntity entity)
Delete entity.
|
void |
WorldListenerAdapter.entityAdded(OdorWorldEntity entity) |
void |
WorldListener.entityAdded(OdorWorldEntity entity)
An entity was added to the world.
|
void |
WorldListenerAdapter.entityChanged(OdorWorldEntity entity) |
void |
WorldListener.entityChanged(OdorWorldEntity entity)
An entity was changed.
|
void |
WorldListenerAdapter.entityRemoved(OdorWorldEntity entity) |
void |
WorldListener.entityRemoved(OdorWorldEntity entity)
An entity was removed to the world.
|
void |
OdorWorld.fireEntityAdded(OdorWorldEntity entity)
Fire entity added event.
|
void |
OdorWorld.fireEntityChanged(OdorWorldEntity entity)
Fire entity changed event.
|
void |
OdorWorld.fireEntityRemoved(OdorWorldEntity entity)
Fire entity removed event.
|
void |
TileMap.removeSprite(OdorWorldEntity sprite)
Removes a OdorWorldEntity object from this map.
|
static void |
WorldClipboard.setClipboardEntity(OdorWorldEntity clipboardEntity) |
Constructor and Description |
---|
LifeCycle(OdorWorldEntity entity) |
Constructor and Description |
---|
AddSmellSourceAction(OdorWorldPanel component,
OdorWorldEntity entity)
Create a new open plot action.
|
AddTileSensorsAction(OdorWorldEntity entity)
Construct the action.
|
DeleteEntityAction(OdorWorldPanel worldPanel,
OdorWorldEntity entity)
Create a delete entity action.
|
EditSmellSourceAction(OdorWorldPanel component,
OdorWorldEntity entity)
Create a new open plot action.
|
ShowEntityDialogAction(OdorWorldEntity entity)
Construct a show entity action.
|
Constructor and Description |
---|
NewtonianBouncer(OdorWorldEntity parentEntity)
Construct the behavior.
|
Constructor and Description |
---|
AddEffectorDialog(OdorWorldEntity entity)
Effector Dialog add effector constructor.
|
AddSensorDialog(OdorWorldEntity entity)
Sensor Dialog add sensor constructor.
|
EffectorPanel(OdorWorldEntity entity)
Construct the effector panel.
|
EntityDialog(OdorWorldEntity we)
Create and show the world entity dialog box.
|
HearingSensorPanel(OdorWorldEntity entity)
Constructor for the case where a sensor is being created.
|
HearingSensorPanel(OdorWorldEntity entity,
Hearing sensor)
Constructor for the case where a sensor is being edited.
|
SensorPanel(OdorWorldEntity entity)
Construct the sensor panel.
|
SmellSensorPanel(OdorWorldEntity entity)
Constructor for the case where a sensor is being created.
|
SmellSensorPanel(OdorWorldEntity entity,
SmellSensor sensor)
Constructor for the case where a sensor is being edited.
|
SpeechEffectorPanel(OdorWorldEntity entity)
Constructor for the case where an effector is being created.
|
SpeechEffectorPanel(OdorWorldEntity entity,
Speech effector)
Constructor for the case where an effector is being edited.
|
StraightEffectorPanel(OdorWorldEntity entity)
Constructor for the case where an effector is being created.
|
StraightEffectorPanel(OdorWorldEntity entity,
StraightMovement effector)
Constructor for the case where an effector is being edited.
|
TileSensorPanel(OdorWorldEntity entity)
Constructor for the case where a sensor is being created.
|
TileSensorPanel(OdorWorldEntity entity,
TileSensor sensor)
Constructor for the case where an effector is being edited.
|
TileSetPanel(OdorWorldEntity entity)
Default constructor.
|
TurningEffectorPanel(OdorWorldEntity entity)
Constructor for the case where an effector is being created.
|
TurningEffectorPanel(OdorWorldEntity entity,
Turning effector)
Constructor for the case where an effector is being edited.
|
Modifier and Type | Field and Description |
---|---|
protected OdorWorldEntity |
Effector.parent
Reference to parent entity.
|
Modifier and Type | Method and Description |
---|---|
OdorWorldEntity |
Effector.getParent() |
Constructor and Description |
---|
Effector(OdorWorldEntity parent,
java.lang.String label)
Construct the effector.
|
Speech(OdorWorldEntity parent,
java.lang.String phrase,
double threshold)
Construct the speech effector.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicEntity
BasicEntity represents a static entity in the Odor World environment,
with a static image file.
|
class |
RotatingEntity
Represents an entity that can rotate.
|
Modifier and Type | Field and Description |
---|---|
protected OdorWorldEntity |
Sensor.parent
Reference to parent entity.
|
Modifier and Type | Method and Description |
---|---|
OdorWorldEntity |
Sensor.getParent() |
Constructor and Description |
---|
BumpSensor(OdorWorldEntity parent,
double bumpVal)
Construct bump sensor.
|
Hearing(OdorWorldEntity parent,
java.lang.String phrase,
double outputAmount)
Construct the hearing sensor.
|
Sensor(OdorWorldEntity parent,
java.lang.String label)
Construct the sensor.
|
SmellSensor(OdorWorldEntity parent,
java.lang.String label,
double theta,
double radius)
Construct a smell sensor.
|
TileSensor(OdorWorldEntity parent,
int x,
int y,
int width,
int height)
Construct a tile sensor.
|