Safe Haskell | None |
---|
Documentation
display :: IORef GameState -> IORef Float -> DisplayCallback #
GLUT's display callback function . To Be called when postReDisplay is encountered
idle :: IORef GameState -> IORef Float -> IdleCallback #
GLUT's idle callback function . To Be called indefinitley in each gameLoop Used for the bullet graphics
keyboardMouse :: IORef GameState -> IORef Float -> KeyboardMouseCallback #
GLUT's KeyboardMouse callback function . To Be called when user does a keypress