gore-and-ash-sdl

Gore&Ash core module for integration with SDL library git@github.com:Teaspot-Studio/gore-and-ash-sdl.git

Latest on Hackage:2.1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Anton Gushcha
Maintained by ncrashed@gmail.com

gore-and-ash-sdl

The module provides integraion with SDL2 library for Gore&Ash engine.

Installing

Add following to your stack.yml to packages section:

- location:
    git: https://github.com/Teaspot-Studio/gore-and-ash-sdl.git
    commit: <PLACE HERE FULL HASH OF LAST COMMIT> 

When defining you application stack, add SDLT:

type AppStack = ModuleStack [SDLT, ... other modules ... ] IO

And derive MonadSDL for your resulting AppMonad:

newtype AppMonad a = AppMonad (AppStack a)
  deriving (Functor, Applicative, Monad, MonadFix, MonadIO, MonadThrow, MonadCatch, MonadSDL)

Changes

2.1.1.0

  • Added changelog, added extra-source-files to cabal file.
comments powered byDisqus