1
Fork 0

Polish inputhandler

This commit is contained in:
Tibo De Peuter 2022-11-15 22:58:24 +01:00
parent 6ca7511514
commit 7dc72ee211

View file

@ -15,6 +15,11 @@ module InputHandler
import Graphics.Gloss import Graphics.Gloss
import qualified Graphics.Gloss.Interface.IO.Game as Game import qualified Graphics.Gloss.Interface.IO.Game as Game
----------------------------------------------------------------------
-- Handle one or more InputEvents to do something. Compose them to --
-- create an InputHandler that handles multiple inputs. --
----------------------------------------------------------------------
----------------------------- Constants ------------------------------ ----------------------------- Constants ------------------------------
-- Something that happens, most often a keypress -- Something that happens, most often a keypress