module Graphics.Gloss.Interface.IO.Animate
( module Graphics.Gloss.Data.Display
, module Graphics.Gloss.Data.Picture
, module Graphics.Gloss.Data.Color
, animateIO
, animateFixedIO
, Controller (..))
where
import Graphics.Gloss.Data.Display
import Graphics.Gloss.Data.Controller
import Graphics.Gloss.Data.Picture
import Graphics.Gloss.Data.Color
import Graphics.Gloss.Internals.Interface.Animate
import Graphics.Gloss.Internals.Interface.Backend
animateIO
:: Display
-> Color
-> (Float -> IO Picture)
-> (Controller -> IO ())
-> IO ()
animateIO display backColor
frameFunIO eatControllerIO
= animateWithBackendIO
defaultBackendState
True
display backColor
frameFunIO
eatControllerIO
animateFixedIO
:: Display
-> Color
-> (Float -> IO Picture)
-> (Controller -> IO ())
-> IO ()
animateFixedIO display backColor
frameFunIO eatControllerIO
= animateWithBackendIO
defaultBackendState
False
display backColor
frameFunIO
eatControllerIO