Skip to main content

game_cancellable_event

Macro game_cancellable_event 

Source
macro_rules! game_cancellable_event {
    ($name:ident) => { ... };
}
Expand description

Implements Event and EventRouting for a cancellable event dispatched on the game loop’s bus.

The struct must have a cancelled: bool field.