public static void FixPlacementCells() { List <MapRecord> maps = MapRecord.GetMapWithoutPlacementCells(); foreach (MapRecord map in maps) { PlacementPattern pattern = new PlacementPattern(map); pattern.Effectuate(); map.BlueCells = pattern.PlacementCells.BlueCells; map.RedCells = pattern.PlacementCells.RedCells; } }