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 ()
|
||||
traceM $ (show $ 1 / dt) ++ " FPS"
|
||||
|
||||
handle :: SDL.EventPayload -> Affection UserData ()
|
||||
handle (SDL.MouseMotionEvent dat) = do
|
||||
let (SDL.P (SDL.V2 x y)) = SDL.mouseMotionEventPos dat
|
||||
ud <- getAffection
|
||||
|
|
Loading…
Reference in a new issue