Polish inputhandler
This commit is contained in:
		
							parent
							
								
									6ca7511514
								
							
						
					
					
						commit
						7dc72ee211
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -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 | ||||||
|  |  | ||||||
		Reference in a new issue