minilight-0.5.0: A SDL2-based graphics library, batteries-included.
Safe HaskellNone
LanguageHaskell2010

Data.Component.AnimationLayer

Documentation

data AnimationLayer Source #

Constructors

AnimationLayer 

Fields

Instances

Instances details
ComponentUnit AnimationLayer Source # 
Instance details

Defined in Data.Component.AnimationLayer

Methods

update :: forall env (m :: Type -> Type). (HasLightEnv env, HasLoopEnv env, HasComponentEnv env, MonadIO m, MonadMask m) => AnimationLayer -> LightT env m AnimationLayer Source #

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

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

onSignal :: forall env (m :: Type -> Type). (HasLightEnv env, HasLoopEnv env, HasComponentEnv env, MonadIO m, MonadMask m) => Event -> AnimationLayer -> LightT env m AnimationLayer Source #

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

beforeClearCache :: forall env (m :: Type -> Type). (HasLightEnv env, MonadIO m, MonadMask m) => AnimationLayer -> [Figure] -> LightT env m () Source #

data Config Source #

Constructors

Config 

Instances

Instances details
FromJSON Config Source # 
Instance details

Defined in Data.Component.AnimationLayer