Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- preHandleEvents :: [Event] -> Affection us [EventPayload]
- getAffection :: Affection us us
- putAffection :: us -> Affection us ()
- delaySec :: Int -> IO ()
- getElapsedTime :: Affection us Double
- getDelta :: Affection us Double
- quit :: Affection us ()
- toggleScreen :: Affection us ()
- fitViewport :: Double -> WindowMessage -> Affection us ()
Documentation
preHandleEvents :: [Event] -> Affection us [EventPayload] Source #
Prehandle SDL events
getAffection :: Affection us us Source #
Return the userstate to the user
putAffection :: us -> Affection us () Source #
Put altered user state back
getElapsedTime :: Affection us Double Source #
Get time since start but always the same in the current tick.
toggleScreen :: Affection us () Source #
Toggle the Screen mode between Windowed
and FullscreenDesktop
.
Pauses the Engine in the process.
:: Double | Image Ratio (width / height) |
-> WindowMessage | Incoming Message. Listens only on
|
-> Affection us () |
Fit the GL Viewport to Window size