public abstract class SpatialAgent extends Agent
associatedSimulationContainer| Constructor and Description |
|---|
SpatialAgent(SimulationContainer associatedSimulationContainer,
java.awt.geom.Point2D coordinates)
Abstraction of agents that are spatially located within the simulation
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D |
getCoordinates() |
void |
setCoordinates(java.awt.geom.Point2D coordinates) |
getAssociatedSimulationContainerpublic SpatialAgent(SimulationContainer associatedSimulationContainer, java.awt.geom.Point2D coordinates)
associatedSimulationContainer - The simulation container containing the simulationcoordinates - The spatial position the spatial agent is initialized with