minilight-0.1.0: A SDL2-based graphics library, batteries-included.

Safe HaskellNone
LanguageHaskell2010

MiniLight.Component.MessageEngine

Documentation

data MessageEngine Source #

Constructors

MessageEngine 

Fields

Instances
ComponentUnit MessageEngine Source # 
Instance details

Defined in MiniLight.Component.MessageEngine

Methods

update :: (HasLightEnv env, MonadIO m, MonadMask m) => MessageEngine -> LightT env m MessageEngine Source #

figures :: (HasLightEnv env, MonadIO m, MonadMask m) => MessageEngine -> LightT env m [Figure] Source #

draw :: (HasLightEnv env, MonadIO m, MonadMask m) => MessageEngine -> LightT env m () Source #

useCache :: MessageEngine -> MessageEngine -> Bool Source #

onSignal :: (HasLightEnv env, MonadIO m, MonadMask m) => Event -> MessageEngine -> LightT env m MessageEngine Source #

data Config Source #

Constructors

Config 
Instances
FromJSON Config Source # 
Instance details

Defined in MiniLight.Component.MessageEngine

Methods

parseJSON :: Value -> Parser Config

parseJSONList :: Value -> Parser [Config]