From 7dc72ee211b43670da74df4713ca6139a25628d8 Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 15 Nov 2022 22:58:24 +0100 Subject: [PATCH] Polish inputhandler --- lib/InputHandler.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/InputHandler.hs b/lib/InputHandler.hs index 9c04223..6555836 100644 --- a/lib/InputHandler.hs +++ b/lib/InputHandler.hs @@ -15,6 +15,11 @@ module InputHandler import Graphics.Gloss 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 ------------------------------ -- Something that happens, most often a keypress