Struct mold2d::events::Events [] [src]

pub struct Events { /* fields omitted */ }

Handles keyboard events through SDL

Methods

impl Events
[src]

Polls for events and stores them inside a HashSet

True if the event is currently happening, False otherwise

True if the event is currently happening, False otherwise difference from event_called is that is only called once for an event