Method GetTileInfo
GetTileInfo(int, int)
Gets the tile info at the specified position in the area.
public TileInfo GetTileInfo(int tileX, int tileY)
Parameters
tileXintThe x coordinate of the tile to get info.
tileYintThe y coordinate of the tile to get info.
Returns
- TileInfo
A structure containing the associated tile info.
Exceptions
- ArgumentOutOfRangeException
Thrown if the tile coordinates are larger than the area size.