public class EveningTrip
extends java.lang.Object
| Constructor and Description |
|---|
EveningTrip(int nrOfeveningActivityNodes,
Coord location)
Create a new instance of a EveningTrip
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNode(EveningActivityMovement eveningActivityNode)
Add an evening activity node to the group
|
boolean |
allMembersPresent()
Checks if all members of the group have found their way to the meeting
point
|
Coord |
getDestination() |
Coord |
getLocation() |
Path |
getPath() |
double |
getWaitTimeAtEnd() |
boolean |
isFull() |
void |
setDestination(Coord destination)
Sets the destination square of the trip.
|
void |
setPath(Path path)
Sets the shopping path for the group
|
void |
setWaitTimeAtEnd(double waitTimeAtEnd) |
public EveningTrip(int nrOfeveningActivityNodes,
Coord location)
nrOfeveningActivityNodes - The number of shoppers in the grouplocation - Where the trip startspublic boolean addNode(EveningActivityMovement eveningActivityNode)
eveningActivityNode - public void setPath(Path path)
path - public Path getPath()
public Coord getLocation()
public boolean isFull()
public boolean allMembersPresent()
public Coord getDestination()
public void setDestination(Coord destination)
destination - public double getWaitTimeAtEnd()
public void setWaitTimeAtEnd(double waitTimeAtEnd)