setPosition

expect open fun setPosition(xPos: Short, yPos: Short)

Changes the position of the object.

Parameters

xPos

X coordinate.

yPos

Y coordinate.

actual open fun setPosition(xPos: Short, yPos: Short)
actual open fun setPosition(xPos: Short, yPos: Short)