-- Implementations for each state can be found in their respective -- submodules. module RPGEngine.Input ( handleAllInput ) where import RPGEngine.Input.Core import RPGEngine.Data ------------------------------ Exported ------------------------------ -- Handle all input of all states of the game. handleAllInput :: InputHandler Game handleAllInput ev g@Game{ state = state } = handleInput ev g where handleInput = inputHandler $ base state