A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/AlmasB/FXGL/issues/1070 below:

Add onKey and onBtn to TriggerListener · Issue #1070 · AlmasB/FXGL · GitHub

Implementation in Input should extract

            listeners.forEach {
                it.action(trigger)
            }

into a separate function that would check if trigger is key, then call onKey, check if btn and call onBtn. Same for begin / end action events.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4