public void addRiver() { bool check = false; if (tileList.Count < 2) { } else { if (tileList[0].getBiome() == Biome.Ocean || tileList[1].getBiome() == Biome.Ocean) { check = true; } } if (this.biomeTransisition == BiomeTransistion.River || check) { } else { if (tileList.Count == 2) { graphics.buildRiverEdge(this.edgeNumber, this.getPosition(), this.secondCentre, this.orientation); this.biomeTransisition = BiomeTransistion.River; this.northVertex.setRiverJunction(); this.southVertex.setRiverJunction(); } } }