kts.GetTiles

Name

kts.GetTiles – get a list of tiles in a given dungeon square

Synopsis

result = kts.GetTiles(params)

Description

Given a dungeon position, returns a list of all Tiles currently at that location.

Return Value

A Lua list/array, containing zero or more Tile userdata objects, is returned.

Errors

An error is raised if the given position is invalid.

Notes

Recall that each dungeon square can contain zero or more Tiles, but typically there would be around one to two tiles per square (an example might be a floor tile with a treasure chest on top of it).

See Also

kts.AddTile

kts.RemoveTile

kts.Tile