/** * Displays a native dialog prompting the user to input text. The dialog is modal, so the game will not respond * while the prompt is active. This should not be called in the {@link Game#init()} method. * * @param message The message to be shown to the user. * * @return The string if value is edited, or {@code null} if canceled. */ @PlatformDesktop @PlatformHTML5 @PlatformAndroid default String prompt(String message) { return prompt(message, ""); }