Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SDLInit a b = SDLInit {
- initAction :: IO a
- inputAction :: Bool -> IO (DTime, Maybe a)
- outputAction :: Bool -> b -> IO Bool
- parseInput :: SF a AppInput
- closeAction :: IO ()
- data SDLConfiguration = SDLConfiguration {
- windowWidth :: Int
- windowHeight :: Int
- windowName :: String
- windowResizable :: Bool
- fps :: Double
- defaultSDLConfiguration :: SDLConfiguration
- initSDL :: SDLConfiguration -> IO (SDLInit (Event EventPayload) AppOutput)
Documentation
SDLInit | |
|
data SDLConfiguration Source #
Configurations regarding the window.
SDLConfiguration | |
|
initSDL :: SDLConfiguration -> IO (SDLInit (Event EventPayload) AppOutput) Source #
Set up SDL