package io.github.some_example_name; public class TutorialScreenLogic { public enum Action { START_GAME, EXIT, NONE } public static Action decide( boolean spacePressed, boolean escapePressed ) { if (spacePressed) return Action.START_GAME; if (escapePressed) return Action.EXIT; return Action.NONE; } }