Show / Hide Table of Contents

Class FullMapWalkabilityView

Grid view used as the WalkabilityView for a map when non-terrain layers can have non-walkable objects.

Inheritance
object
GridViewBase<bool>
FullMapWalkabilityView
Implements
IGridView<bool>
Inherited Members
GridViewBase<bool>.Count
GridViewBase<bool>.this[int, int]
GridViewBase<bool>.this[int]
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.GameFramework
Assembly: GoRogue.dll
Syntax
public class FullMapWalkabilityView : GridViewBase<bool>, IGridView<bool>
Remarks

This class is used instead of a LambdaGridView<T> in order to maximize performance.

Constructors

View Source

FullMapWalkabilityView(Map)

Constructor.

Declaration
public FullMapWalkabilityView(Map map)
Parameters
Type Name Description
Map map

Map which this grid view gets its data from.

Properties

View Source

Height

The height of the grid being represented.

Declaration
public override int Height { get; }
Property Value
Type Description
int
Overrides
SadRogue.Primitives.GridViews.GridViewBase<bool>.Height
View Source

this[Point]

Given a position, returns the "value" associated with that location.

Declaration
public override bool this[Point pos] { get; }
Parameters
Type Name Description
Point pos

Location to retrieve the value for.

Property Value
Type Description
bool

The "value" associated with the provided location.

Overrides
SadRogue.Primitives.GridViews.GridViewBase<bool>.this[SadRogue.Primitives.Point]
View Source

Width

The width of the grid being represented.

Declaration
public override int Width { get; }
Property Value
Type Description
int
Overrides
SadRogue.Primitives.GridViews.GridViewBase<bool>.Width

Implements

IGridView<T>

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX