public class BasicExitActivity extends ExitActivity
activityModule, agent, map, movement, navigationModule, observations
Constructor and Description |
---|
BasicExitActivity() |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart(int timeStep)
Determines if the activity can start.
|
Position |
getActivityPosition()
Gets the activity position.
|
void |
goToActivity()
Sends the agent to the activity area.
|
void |
startActivity()
Starts the activity.
|
void |
update(int timeStep)
Updates the updatable element.
|
endActivity, getActivityState, init, isFinished, isGoingToActivity, isInProgress
public boolean canStart(int timeStep)
Activity
public Position getActivityPosition()
Activity
getActivityPosition
in class Activity
public void goToActivity()
Activity
goToActivity
in class Activity
public void startActivity()
Activity
startActivity
in class Activity
public void update(int timeStep)
Updatable
timeStep
- The time step of the simulation (in milliseconds).