public class AccidentEvent extends ExternalEvent
time| Constructor and Description |
|---|
AccidentEvent(double time) |
| Modifier and Type | Method and Description |
|---|---|
void |
processEvent(World world)
Processes the external event.
|
java.lang.String |
toString()
Returns a String representation of the event
|
compareTo, getTimepublic void processEvent(World world)
ExternalEventprocessEvent in class ExternalEventworld - World where the actors of the event arepublic java.lang.String toString()
ExternalEventtoString in class ExternalEvent