public class EveningActivityControlSystem
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
addEveningActivityNode(EveningActivityMovement eveningMovement)
Register a evening activity node with the system
|
static EveningActivityControlSystem |
getEveningActivityControlSystem(int id)
Returns a reference to a EveningActivityControlSystem with ID provided as
parameter.
|
EveningTrip |
getEveningInstructions(int eveningActivityNodeID)
This method gets the instruction for a node, i.e.
|
Coord |
getMeetingSpotForID(int id)
Get the meeting spot for the node
|
static void |
reset() |
void |
setMeetingSpots(java.util.List<Coord> meetingSpots)
Sets the meeting locations the nodes can choose among
|
void |
setRandomNumberGenerator(java.util.Random rand)
Sets the random number generator to be used
|
public static void reset()
public void addEveningActivityNode(EveningActivityMovement eveningMovement)
eveningMovement - activity movementpublic void setMeetingSpots(java.util.List<Coord> meetingSpots)
meetingSpots - public EveningTrip getEveningInstructions(int eveningActivityNodeID)
eveningActivityNodeID - unique ID of the nodepublic Coord getMeetingSpotForID(int id)
id - public void setRandomNumberGenerator(java.util.Random rand)
rand - public static EveningActivityControlSystem getEveningActivityControlSystem(int id)
id - unique ID of the EveningActivityControlSystem