affection-0.0.0.9: A simple Game Engine using SDL

Safe HaskellNone
LanguageHaskell2010

Affection

Synopsis

Documentation

withAffection Source #

Arguments

:: AffectionConfig us

Configuration of the Game and its engine.

-> IO () 

Main function which bootstraps everything else.

get :: MonadState s m => m s #

Return the state from the internals of the monad.

put :: MonadState s m => s -> m () #

Replace the state inside the monad.

liftIO :: MonadIO m => IO a -> m a #

Lift a computation from the IO monad.