affection-0.0.0.9: A simple Game Engine using SDL

Safe HaskellSafe
LanguageHaskell2010

Affection.MessageBus.Message.Class

Synopsis

Documentation

class Message msg where Source #

Typeclass definition for messages

Minimal complete definition

msgTime

Methods

msgTime :: msg -> Double Source #

return the time when the message was sent