affection-0.0.0.0: A simple Game Engine using SDL

Safe HaskellNone
LanguageHaskell2010

Affection

Synopsis

Documentation

withAffection #

Arguments

:: AffectionConfig us

Configuration of the Game and its engine.

-> IO () 

Main function which bootstraps everything else.

getAffection :: Affection us us #

Return the userstate to the user

putAffection :: us -> Affection us () #

Put altered user state back

delaySec #

Arguments

:: Int

Number of seconds

-> IO () 

block a thread for a specified amount of time

get :: MonadState s m => m s #

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