How Field-of-View (FOV) works in RogueSharp
mainRogueSharp provides efficient field-of-view calculations for a specified distance on a map. You can choose whether or not to light walls during the calculation.
ComputeFov: Performs a new FOV calculation.AppendFov: Appends a new FOV calculation to any existing ones.
/// Constructs a new FieldOfView objec for the specified Map
public FieldOfView( IMap map )
/// Performs a field-of-view calculation with the specified parameters.
public ReadOnlyCollection<ICell> ComputeFov( int xOrigin, int yOrigin, int radius, bool lightWalls )
/// Performs a field-of-view calculation with the specified parameters
/// and appends it any existing field-of-view calculations.
public ReadOnlyCollection<ICell> AppendFov( int xOrigin, int yOrigin, int radius, bool lightWalls )