affection-0.0.0.9: A simple Game Engine using SDL

Safe HaskellNone
LanguageHaskell2010

Affection.Subsystems.AffectionWindow

Synopsis

Documentation

consumeSDLWindowEvents Source #

Arguments

:: (Participant aw us, Mesg aw us ~ WindowMessage) 
=> aw

The message system participant

-> [EventPayload]

Incoming events

-> Affection us [EventPayload]

Leftover SDL events

Helper function that consumes all Window-related EventPayloads and emits appropriate WindowMessages.