public class DebugRenderer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addEntityDebugListener(EntityDebugRenderedListener listener) |
static void |
onMapDebugRendered(java.util.function.Consumer<MapDebugArgs> cons) |
static void |
removeEntityDebugListener(EntityDebugRenderedListener listener) |
static void |
renderEntityDebugInfo(java.awt.Graphics2D g,
IEntity entity) |
static void |
renderMapDebugInfo(java.awt.Graphics2D g,
IMap map) |
public static void addEntityDebugListener(EntityDebugRenderedListener listener)
public static void removeEntityDebugListener(EntityDebugRenderedListener listener)
public static void onMapDebugRendered(java.util.function.Consumer<MapDebugArgs> cons)
public static void renderEntityDebugInfo(java.awt.Graphics2D g, IEntity entity)
public static void renderMapDebugInfo(java.awt.Graphics2D g, IMap map)