IEvent#
- class carb.events.IEvent#
Bases:
pybind11_objectEvent.
Event has an Event type, a sender id and a payload. Payload is a dictionary like item with arbitrary data.
Methods
__init__(*args, **kwargs)consume(self)Consume event to stop it propagating to other listeners down the line.
Attributes
- __init__(*args, **kwargs)#
- consume(self: carb.events._events.IEvent) None#
Consume event to stop it propagating to other listeners down the line.