Skip to content

Core module for gore-and-ash for SDL library integration

License

BSD-3-Clause, MIT licenses found

Licenses found

BSD-3-Clause
LICENSE
MIT
LICENSE_sdl2-image
Notifications You must be signed in to change notification settings

Teaspot-Studio/gore-and-ash-sdl

Repository files navigation

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)

About

Core module for gore-and-ash for SDL library integration

Resources

License

BSD-3-Clause, MIT licenses found

Licenses found

BSD-3-Clause
LICENSE
MIT
LICENSE_sdl2-image

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published