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

Safe HaskellNone
LanguageHaskell2010

MiniLight.Component.AnimationLayer

Documentation

data AnimationLayer Source #

Constructors

AnimationLayer 

Fields

Instances
ComponentUnit AnimationLayer Source # 
Instance details

Defined in MiniLight.Component.AnimationLayer

Methods

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

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

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

useCache :: AnimationLayer -> AnimationLayer -> Bool Source #

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

data Config Source #

Constructors

Config 

Fields

Instances
FromJSON Config Source # 
Instance details

Defined in MiniLight.Component.AnimationLayer

Methods

parseJSON :: Value -> Parser Config

parseJSONList :: Value -> Parser [Config]