Skip to main content

FlixelRuntimeMode

View source

enum

org.flixelgdx.backend.FlixelRuntimeMode

public final enum FlixelRuntimeMode

Describes the build/runtime mode the game is running in. Set once by the launcher before the game starts; the framework uses this to gate debug-only features such as the debug overlay.

Fields

TEST

public static final FlixelRuntimeMode TEST

Automated test execution (headless or CI).


DEBUG

public static final FlixelRuntimeMode DEBUG

Development/debug build (debug overlay and diagnostics are available).


RELEASE

public static final FlixelRuntimeMode RELEASE

Production/release build (all debug facilities are stripped or disabled).


Methods

values()

public static FlixelRuntimeMode[] values()

valueOf(String)

public static FlixelRuntimeMode valueOf(String name)