elerea-sdl-0.1.1: Elerea FRP wrapper for SDL

Safe HaskellNone

FRP.Elerea.SDL

Synopsis

Documentation

sdlLoopSource

Arguments

:: Ticks

Frame duration / Frame time

-> (SignalGen p (Signal [Event]) -> SignalGen Ticks (Signal a))

Signal network, takes event SignalGen as argument

-> IO [a] 

Main SDL event loop (with framerate)

Produces an infinite list of network samples

type Ticks = Word32Source

SDL Ticks