private SparseGrid2(GridDefinition def, int validCellCount) : base(def, validCellCount) { m_index = new Dictionary <int, int>(validCellCount); }
public GridCoord(GridDefinition def, ushort row, ushort col) { m_def = def; m_row = row; m_col = col; }
private SparseGrid1(GridDefinition def, int validCellCount) : base(def, validCellCount) { m_index = new int[Def.IndexSize]; }
protected SparseGridBase(GridDefinition def, int validCellCount) : base(def) { m_data = new T[validCellCount]; }
protected GridBase(GridDefinition def) { m_def = def; }
public static Grid <T> Create(ushort sizeX, ushort sizeY, bool buffered = false, T fillVal = default(T)) { var def = new GridDefinition(sizeX, sizeY, buffered); return(new Grid <T>(def, fillVal)); }