xy2Node

fun xy2Node(x: Int, y: Int): Tile

Retrieves the Tile node at the specified (x, y) coordinates.

Return

The Tile node at the given coordinates.

Parameters

x

The x-coordinate of the node.

y

The y-coordinate of the node.

Throws

if no node is found at coordinates (x, y)