affection-0.0.0.9: A simple Game Engine using SDL

Safe HaskellNone
LanguageHaskell2010

Affection.Subsystems.Class

Synopsis

Documentation

class SDLSubsystem s us where Source #

This class denotes a Subsystem to be part of SDL

Minimal complete definition

consumeSDLEvents

Methods

consumeSDLEvents :: s -> [EventPayload] -> Affection us [EventPayload] Source #

Consume the given EventPayloads and return only those not recognised