FlixelNoopDebugOverlay
View sourceclass
org.flixelgdx.debug.FlixelNoopDebugOverlay
public final class FlixelNoopDebugOverlay extends FlixelDebugOverlay
A fully inert debug overlay used as the default value of FlixelDebugManager.overlay so callers never need to null-check the field.
All lifecycle methods (FlixelNoopDebugOverlay.update(float), FlixelNoopDebugOverlay.resize(int, int), FlixelNoopDebugOverlay.drawUI()) are no-ops. The singleton is safe to share across the application's lifetime.
Fields
INSTANCE
public static final FlixelNoopDebugOverlay INSTANCE
Shared singleton instance used as the default overlay before debug mode starts.
Methods
update(float)
public void update(float elapsed)
resize(int, int)
public void resize(int width, int height)
drawUI()
protected void drawUI()
destroy()
public void destroy()