addSprite

fun Kray.addSprite(sprite: Sprite<*>)

Adds the given sprite to the Kray canvas at its current position or at the specified x and y coordinates.

Parameters

sprite

The sprite to add.