public interface InputFilter
Modifier and Type | Method | Description |
---|---|---|
boolean |
onInput(Interactable interactable,
KeyStroke keyStroke) |
Called when the component is about to receive input from the user and decides if the input should be passed on to
the component or not
|
boolean onInput(Interactable interactable, KeyStroke keyStroke)
interactable
- Interactable that the input is directed tokeyStroke
- User inputtrue
if the input should be passed on to the interactable, false
otherwiseCopyright © 2020. All rights reserved.