draw

open override fun draw(g: Graphics)

Renders the entity within the viewport at alpha = 255

Parameters

g

the graphics context to use for rendering

fun draw(graphics: Graphics, color: Int = Color.CYAN)

Draws the component on the screen