Expand description
Event handling types.
Structs§
- An
EventId
uniquely identifies an event stored in a specificWorld
. - An iterator that yields any unread events from an
EventReader
orManualEventReader
. - An iterator that yields any unread events (and their IDs) from an
EventReader
orManualEventReader
. - A parallel iterator over
Event
s. - Reads events of type
T
in order and tracks which events have already been read. - A registry of all of the
Events
in theWorld
, used byevent_update_system
to update all of the events. - Sends events of type
T
. - An event collection that represents the events that occurred within the last two
Events::update
calls. Events can be written to using anEventWriter
and are typically cheaply read using anEventReader
. - Stores the state for an
EventReader
.
Enums§
- Controls whether or not the events in an
EventRegistry
should be updated.
Traits§
- Something that “happens” and might be read / observed by app logic.
Functions§
- A run condition for
event_update_system
. - A system that calls
Events::update
on all registeredEvents
in the world. - Signals the
event_update_system
to run afterFixedUpdate
systems.