LayerProcGen v0.4.0
Layer-based infinite procedural generation
Loading...
Searching...
No Matches
RollingGrid< T >

Represents an infinite 2D array, used by layers to store chunks in. More...

Inherits IEnumerable.

Public Member Functions

IEnumerator< T > GetEnumerator ()
 RollingGrid (int sizeX, int sizeY, int maxOverlap=3)

Public Attributes

int count
Point[] points
T[] values

Properties

this[int x, int y] [get, set]
this[Point p] [get, set]

Detailed Description

Represents an infinite 2D array, used by layers to store chunks in.

Type Constraints
T :class