public interface EventQueueDebugListener extends DebugListener
Red (tfeng) |
Yellow (tfeng) |
Modifier and Type | Method and Description |
---|---|
void |
insertActor(int position,
Time time,
Actor actor,
Token arguments)
Invoked when an actor is inserted into the event queue.
|
void |
insertEvent(int position,
Time time,
Event event,
Token arguments)
Invoked when an event is inserted into the event queue.
|
void |
removeEvent(int position,
boolean isCancelled)
Invoked when an event or actor is removed from the event queue.
|
event, message
void insertActor(int position, Time time, Actor actor, Token arguments)
position
- The position at which the actor is inserted.time
- The time at which the actor is scheduled to fire.actor
- The actor.arguments
- Arguments to the actor, which must be either an
ArrayToken or a RecordToken, or null.void insertEvent(int position, Time time, Event event, Token arguments)
position
- The position at which the event is inserted.time
- The time at which the event is scheduled to fire.event
- The event.arguments
- Arguments to the event, which must be either an
ArrayToken or a RecordToken, or null.void removeEvent(int position, boolean isCancelled)
position
- The position of the event or actor.isCancelled
- Whether the removal is due to cancellation or
successful processing.