Class FullMapTransparencyView
Grid view used as the TransparencyView for a map when non-terrain layers can have non-transparent objects.
Inherited Members
Namespace: GoRogue.GameFramework
Assembly: GoRogue.dll
Syntax
public sealed class FullMapTransparencyView : GridViewBase<bool>, IGridView<bool>
Remarks
This class is used instead of a LambdaGridView<T> in order to maximize performance.
Constructors
View SourceFullMapTransparencyView(Map)
Constructor.
Declaration
public FullMapTransparencyView(Map map)
Parameters
Type | Name | Description |
---|---|---|
Map | map | Map which this grid view gets its data from. |
Properties
View SourceHeight
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