render

open override fun render(gfx: Graphics2D, canvasWidth: Int, canvasHeight: Int)

Renders the turn indicator on the given graphics context.

Parameters

gfx

The graphics context.

canvasWidth

The width of the canvas.

canvasHeight

The height of the canvas.