Safe Haskell | None |
---|---|
Language | Haskell2010 |
- initSDL :: SDLConfiguration -> IO (SDLInit (Event EventPayload) AppOutput)
- data SDLConfiguration = SDLConfiguration {
- windowWidth :: Int
- windowHeight :: Int
- windowName :: String
- windowResizable :: Bool
- fps :: Double
- defaultSDLConfiguration :: SDLConfiguration
- data SDLInit a b
- mainLoop :: SDLInit a AppOutput -> SF AppInput AppOutput -> IO ()
- defaultLoop :: SF AppInput AppOutput -> IO ()
Initialization
initSDL :: SDLConfiguration -> IO (SDLInit (Event EventPayload) AppOutput) Source #
Set up SDL
data SDLConfiguration Source #
Configurations regarding the window.
SDLConfiguration | |
|
Starts the game loop