Register an event in the queue executed at a specific time.

Property definitions

event_queue $ EventQueue :: add_at
	# Register an `event` in the queue executed at a specific time.
	fun add_at(event: E, start: Float, duration: nullable Float): EventInfo[E]
	do
		if start < next then next = start
		var ei = new EventInfo[E](event, self, start, duration or else 0.0)
		queue.add ei

		return ei
	end
lib/event_queue/event_queue.nit:200,2--208,4