public void PutSector(CoastlineHeightMapGenerator.CoastLineCreationSectorBoundary value) { if (usingFirstPropagationList) { coastLinePropagationSectorsOne.Add(value); } else { coastLinePropagationSectorsTwo.Add(value); } }
public bool ContainsSectorInCurrents(CoastlineHeightMapGenerator.CoastLineCreationSectorBoundary sector) { List <CoastlineHeightMapGenerator.CoastLineCreationSectorBoundary> currentSectors = GetCurrentCoastLinePropagationSectors(); return(currentSectors.Contains(sector)); }