pyherc.rules.los

pyherc.rules.los.cast_light(cx, cy, row, start, end, radius, xx, xy, yx, yy, fov_matrix, level)

‘ Recursive lightcasting function @returns: fov_matrix

pyherc.rules.los.do_fov(x, y, radius, fov_matrix, level)

Calculate lit squares from the given location and radius

pyherc.rules.los.is_blocked(loc_x, loc_y, level, character=None)

Checks if given location should be considered blocking for character @param loc_x: x-coordinate on the map @param loc_y: y-coordinate on the map @param level: level @param character: character @returns: False if not blocking, otherwise True

Previous topic

pyherc.rules.items

Next topic

pyherc.rules.magic

This Page