spice-0.1.0.2: An FRP-based game engine written in Haskell.
FRP.Spice.Engine.RunInput
Description
This module need not be used directly. Refer to Engine instead.
Engine
Synopsis
runInput :: IORef Bool -> IO (Maybe Float) Source
Given an IORef indicating whether or not the program should close, it either returns the delta time since the last call, or a Nothing, indicating that the program should close.
IORef
Nothing