Show / Hide Table of Contents

Namespace GoRogue.MapViews

Classes

ArrayMap<T>

Implementation of the ISettableMapView<T> interface that uses a 1D array to store data.

ArrayMap2D<T>

Implementation of the ISettableMapView<T> interface that uses a 2D array to store data.

IMapViewExtensions

Extensions for IMapView<T> implementaions that provide basic utility functions for them.

LambdaMapView<T>

Class designed to make implementing simple IMapViews more convenient, by providing the "get" functionality via a function that is passed in at construction. For a version that implements ISettableMapView<T> as opposed to IMapView<T>, see LambdaSettableMapView<T>.

LambdaSettableMapView<T>

Class designed to make implementing simple ISettableMapViews more convenient, by providing the get/set functionality via a function that is passed in at construction. For a version that implements IMapView<T> as opposed to ISettableMapView<T>, see LambdaMapView<T>.

LambdaSettableTranslationMap<T1, T2>

A simple SettableTranslationMap<T1, T2> implementation that allows you to provide functions/lambdas for the translation functions. For a version offering only "get" functionality, see LambdaTranslationMap<T1, T2>.

LambdaTranslationMap<T1, T2>

A simple TranslationMap<T1, T2> implementation that allows you to provide a function/lambda at construction to use as the TranslateGet implementation. For a version offering "set" functionality, see LambdaSettableTranslationMap<T1, T2>.

SettableTranslationMap<T1, T2>

Settable map view class capable of taking complex data and providing a simpler view of it. For a version that provides only "get" functionality, see TranslationMap<T1, T2>.

SettableViewport<T>

Similar to Viewport<T>, but implements ISettableMapView<T>and thus implements "set" functionality via relative coordinates.

TranslationMap<T1, T2>

Map view class capable of taking complex data and providing a simpler view of it. For a version that provides "set" functionality, see SettableTranslationMap<T1, T2>.

UnboundedViewport<T>

Class like Viewport<T>, however the view area is in no way bounded to the edges of the underlying map. Instead, if you access a position that cannot map to any valid position in the underlying map view, a (specified) default value is returned.

Viewport<T>

Viewport is a class that effectively creates and maintains a "viewport", or subsection, of the map. Its indexers perform relative to absolute coordinate translations, and return the proper value of type T from the underlying map.

Interfaces

IMapView<T>

Interface designed to act as a standardized input/output interpretation for algorithms.

ISettableMapView<T>

Interface designed to act as a standardized input/output interpretation for algorithms that need to make modifications to data on a map.

Back to top Generated by DocFX