Public Member Functions | |
StopBlocking (int time, int x, int y) throws ParseException | |
int | getX () |
int | getY () |
String | getText () |
int | compareTo (Event other) |
void | execute () |
void | destroy () |
Public Member Functions inherited from vanetsim.scenario.events.Event | |
int | getTime () |
Color | getTextColor () |
Additional Inherited Members | |
Protected Attributes inherited from vanetsim.scenario.events.Event | |
int | time_ |
Color | color_ |
This class represents an event which ends blocking on a street ("unblock").
|
inline |
Constructor.
time | the time in milliseconds when this event gets active |
x | the x coordinate of this event |
y | the y coordinate of this event |
ParseException | the parse exception |
|
inline |
Compare to another event.
other | the other event |
-1
if other
is larger, 1
if it's smaller and 0 if both are equal.
|
inlinevirtual |
Destroys itself.
Implements vanetsim.scenario.events.Event.
|
inlinevirtual |
Execute the task.
Implements vanetsim.scenario.events.Event.
|
inlinevirtual |
Returns a descriptive text for display in the GUI.
Implements vanetsim.scenario.events.Event.
|
inline |
Gets the x coordinate.
|
inline |
Gets the y coordinate.