In my Slick2D game, I'm extending NiftyOverlayBasicGameState
, using Nifty GUI overlays, and specifying a PlainSlickInputSystem
. For most overlaid screens I'd like Nifty GUI to ignore all input and pass it through to the GameState
.
For one particular screen, I'd like to prevent all input getting through to the underlying GameState
- but I only want this to happen for one screen, not all of them.
Is this possible using Nifty GUI, or am I taking the wrong approach? Can individual screens specify different input handling behaviour? Or should I instead be using a separate GameState
with a different Niftyu GUI input system for the one screen where I want Nifty GUI to handle the input?