public class AgentArrivalEvent extends SimulationControllerEvent implements Serializable
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Agent> |
objects
An optional list of agents that have arrived at the same time as the main
agent.
|
protected Agent |
subject
The main agent that has arrived at the simulation.
|
simulationController
Constructor and Description |
---|
AgentArrivalEvent(SimulationController controller,
Agent subject,
ArrayList<Agent> objects) |
Modifier and Type | Method and Description |
---|---|
ArrayList<Agent> |
getObjects() |
Agent |
getSubject() |
void |
setObjects(ArrayList<Agent> objects) |
void |
setSubject(Agent subject) |
getSimulationController
protected Agent subject
public AgentArrivalEvent(SimulationController controller, Agent subject, ArrayList<Agent> objects)
Copyright © 2014. All rights reserved.