LambdaHack-0.2.6.5: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.FOV

Description

Field Of View scanning with a variety of algorithms. See https://github.com/kosmikus/LambdaHack/wiki/Fov-and-los for discussion.

Synopsis

Documentation

fullscanSource

Arguments

:: Ops TileKind

tile content, determines clear tiles

-> FovMode

scanning mode

-> Point

location of the spectacor

-> Level

the map that is scanned

-> [Point] 

Perform a full scan for a given location. Returns the locations that are currently in the field of view. The Field of View algorithm to use, passed in the second argument, is set in the config file.