public void CompareBiome(string biomename, List <int> tilelist) { foreach (var i in tilelist) { if (MapManipulate.CompareBiome(biome, i)) { MapBiomeList.Add(i); } } }
private void BiomeSearchValidate(int Cell) { if (!MapBiomeList.Contains(Cell)) { if (MapManipulate.CompareBiome(biome, Cell)) { //Debug.Log(" CompareBiome success adding: " + Cell); q.Enqueue(Cell); MapBiomeList.Add(Cell); } } }