LayerProcGen v0.1.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< T >.

Public Member Functions

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

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