type signature
This commit is contained in:
parent
ec4c0fccc8
commit
a5273ff79b
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ update = do
|
||||||
return ()
|
return ()
|
||||||
traceM $ (show $ 1 / dt) ++ " FPS"
|
traceM $ (show $ 1 / dt) ++ " FPS"
|
||||||
|
|
||||||
|
handle :: SDL.EventPayload -> Affection UserData ()
|
||||||
handle (SDL.MouseMotionEvent dat) = do
|
handle (SDL.MouseMotionEvent dat) = do
|
||||||
let (SDL.P (SDL.V2 x y)) = SDL.mouseMotionEventPos dat
|
let (SDL.P (SDL.V2 x y)) = SDL.mouseMotionEventPos dat
|
||||||
ud <- getAffection
|
ud <- getAffection
|
||||||
|
|
Loading…
Reference in a new issue