spice-0.1.0.2: An FRP-based game engine written in Haskell.

Safe HaskellNone
LanguageHaskell2010

FRP.Spice.Engine.RunInput

Description

This module need not be used directly. Refer to Engine instead.

Synopsis

Documentation

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.