Safe Haskell | None |
---|---|
Language | Haskell2010 |
Warning: This is an experimental API. It can change at any time.
Documentation
data Application :: * -> * Source #
defaultApplication :: state -> Application state Source #
withTimeStep :: (Double -> state -> state) -> Application state -> Application state Source #
withEventHandler :: (Event -> state -> state) -> Application state -> Application state Source #
withPicture :: (state -> Picture) -> Application state -> Application state Source #
withMultiEventHandler :: (Int -> Event -> state -> state) -> Application state -> Application state Source #
withMultiPicture :: (Int -> state -> Picture) -> Application state -> Application state Source #
subapplication :: (a -> b) -> (b -> a -> a) -> Application b -> (b -> a) -> Application a Source #
applicationOf :: Application world -> IO () Source #