public Grid2D(Grid2D <T> other, Location2D dimensions, Location2D offset) : this(dimensions, default, false) { for (int x = 0; x < other.Width; x++) { for (int y = 0; y < other.Height; y++) { this[offset + (x, y)] = other.Values[x, y];
public SquareGrid2D(SquareGrid2D <T> other, Location2D dimensions, Location2D offset) : base(other, dimensions, offset) { }
protected Grid2D(Location2D dimensions, T defaultValue, bool initializeValueCounters) : this(dimensions.X, dimensions.Y, defaultValue, initializeValueCounters) { }
public Grid2D(Location2D dimensions) : this(dimensions.X, dimensions.Y, default) { }
public PrintableGrid2D(Location2D dimensions) : this(dimensions.X, dimensions.Y) { }