private void BuildGrid1() { gridHolder = new GridHolder <int>(); var shape = gridShapeGraph.shape1Graph.GetShape(); gridHolder.SetGrid(new Grid1 <TCell>(shape)); var spaceMap = spaceMapGraph.GetMap(); var roundMap = MakeRoundMap <int>(); var gridMap = new GridMap <int>(spaceMap, roundMap); gridHolder.SetMap(gridMap); if (cellStorage != null) { if (!cellStorage.IsEmpty()) { RelinkCells(gridHolder.GetGrid <int>()); return; } } MakeCells(gridHolder.GetGrid <int>(), gridHolder.GetMap <int>()); }