yampa-sdl2-0.1.0.2: Yampa and SDL2 made easy

Safe HaskellNone
LanguageHaskell2010

YampaSDL2.Init

Contents

Synopsis

Initialization

data SDLConfiguration Source #

Configurations regarding the window.

data SDLInit a b Source #

mainLoop Source #

Arguments

:: SDLInit a AppOutput 
-> SF AppInput AppOutput

The main signal function

-> IO () 

Starts the game loop

defaultLoop :: SF AppInput AppOutput -> IO () Source #

mainLoop with default configurations