Show / Hide Table of Contents

Interface IReadOnlyFOV

Read-only interface of the FOV class.

Inherited Members
IMapView<Double>.Height
IMapView<Double>.Width
IMapView<Double>.Item[Int32, Int32]
IMapView<Double>.Item[Coord]
IMapView<Double>.Item[Int32]
Namespace: GoRogue
Assembly: GoRogue.dll
Syntax
public interface IReadOnlyFOV : IMapView<double>

Properties

| Improve this Doc View Source

BooleanFOV

A view of the calculation results in boolean form, where true indicates a location is in field of view, and false indicates it is not.

Declaration
IMapView<bool> BooleanFOV { get; }
Property Value
Type Description
IMapView<System.Boolean>
| Improve this Doc View Source

CurrentFOV

IEnumerable of only positions currently in the field of view.

Declaration
IEnumerable<Coord> CurrentFOV { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Coord>
| Improve this Doc View Source

NewlySeen

IEnumerable of positions that ARE in field of view as of the most current Calculate call, but were NOT in field of view after the previous time Calculate was called.

Declaration
IEnumerable<Coord> NewlySeen { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Coord>
| Improve this Doc View Source

NewlyUnseen

IEnumerable of positions that are NOT in field of view as of the most current Calculate call, but WERE in field of view after the previous time Calculate was called.

Declaration
IEnumerable<Coord> NewlyUnseen { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Coord>

Extension Methods

Utility.Yield<T>(T)
IMapViewExtensions.Bounds<T>(IMapView<T>)
IMapViewExtensions.Contains<T>(IMapView<T>, Int32, Int32)
IMapViewExtensions.Contains<T>(IMapView<T>, Coord)
IMapViewExtensions.ExtendToString<T>(IMapView<T>, String, String, Func<T, String>, String, String, String, String)
IMapViewExtensions.ExtendToString<T>(IMapView<T>, Int32, String, String, Func<T, String>, String, String, String, String)
IMapViewExtensions.Positions<T>(IMapView<T>)
IMapViewExtensions.RandomItem<T>(IMapView<T>, IGenerator)
IMapViewExtensions.RandomItem<T>(IMapView<T>, Func<Coord, T, Boolean>, IGenerator)
IMapViewExtensions.RandomPosition<T>(IMapView<T>, T, IGenerator)
IMapViewExtensions.RandomPosition<T>(IMapView<T>, IEnumerable<T>, IGenerator)
IMapViewExtensions.RandomPosition<T>(IMapView<T>, HashSet<T>, IGenerator)
IMapViewExtensions.RandomPosition<T>(IMapView<T>, IGenerator, T[])
IMapViewExtensions.RandomPosition<T>(IMapView<T>, Func<Coord, T, Boolean>, IGenerator)
IMapViewExtensions.RandomPosition<T>(IMapView<T>, IGenerator)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX