LineOfSightModel.isInLineOfSight()
Type | function |
Library | wattageTileEngine.LineOfSightModel.* |
Return value | boolean |
Keywords | |
See also |
Overview
This function returns if the tile is currently in the line of sight, otherwise false.
Syntax
LineOfSightModel.isInLineOfSight( row, column )
row (required)
Number. The row of the tile.
column (required)
Number. The column of the tile.
Examples
local isInLOS = lineOfSightModelInstance.isInLineOfSight(10, 15)