xecs.EventWriter#

class xecs.EventWriter[source]#

Bases: Generic[T]

Sends events of type T.

Methods

send

Send an event which can be read by EventReader.

Attributes

send(event)[source]#

Send an event which can be read by EventReader.

Parameters:

event (T) – The event to send.

Return type:

None