Type function
Library wattageTileEngine.LineOfSightModel.*
Return value VOID
See also  


This function updates the line of sight model. This will result in advancing any tile transitions between line of sight status and will recalculate using the supplied center tile coordinate if it was marked as dirty since the last update.


LineOfSightModel.update( centerRow, centerColumn, timeDelta )
centerRow (required)

Number. The row of the center point of the line of sight.

centerColumn (required)

Number. The column of the center point of the line of sight.

timeDelta (required)

Number. The time passed in milliseconds since the last update call.


lineOfSightModelInstance.update( 10, 15,  1000 / 60 )