Jazz2::Editor::PlayTestDebugOverlay class

Draws debug information of a play-test over the level.

The hitboxes of the objects and the tile events that make an area do something, as PlayTestDebugOptions ask for, in every view of a player. It's attached to the overlay of the level only while something of it is shown, so it costs nothing otherwise.

Base classes

class Jazz2::UI::Canvas
Canvas.

Constructors, destructors, conversion operators

PlayTestDebugOverlay(PlayTestDebug& debug) explicit
Creates a new instance.

Public functions

auto OnDraw(RenderQueue& renderQueue) -> bool override
Called when the node needs to be drawn, returning true if a command was added.