TimedEvent

Event that will trigger after a number of simulator ticks has passed.

Constructor

TimedEvent(ticks, action) Event that will trigger after a number of simulator ticks has passed.

Details

class TimedEvent(ticks, action)[source]

Constructs a TimedEvent object.

Parameters:
  • ticks – The number of ticks untill this event triggers.
  • action – The function that will be called when this event triggers.