//Definition of default biomes private void ClearAllinternalCollections() { Biomes.Clear(); BasicPlain.Clear(); BasicMidland.Clear(); BasicMontain.Clear(); BasicOcean.Clear(); Ground.Clear(); Ocean.Clear(); World.Clear(); }
private void InitializeLandscapeComponent() { //Create BasicPlain BasicPlain.Add(new LandscapeRange() { Name = "Flat", Color = Color.AliceBlue, Size = 0.2, MixedNextArea = 0.05 }); BasicPlain.Add(new LandscapeRange() { Name = "Plain", Color = Color.YellowGreen, Size = 0.5, MixedNextArea = 0.05 }); BasicPlain.Add(new LandscapeRange() { Name = "Hill", Color = Color.Tomato, Size = 0.3 }); //Create BasicMidLand BasicMidland.Add(new LandscapeRange() { Name = "Midland", Color = Color.Wheat, Size = 1 }); //Create BasicMontain BasicMontain.Add(new LandscapeRange() { Name = "Montain", Color = Color.Brown, Size = 1 }); //Create BasicOcean BasicOcean.Add(new LandscapeRange() { Name = "Ocean", Color = Color.Navy, Size = 1 }); //Create Ground Ground.Add(new LandscapeRange() { Name = "BasicPlain", Color = Color.Green, Size = 0.4, MixedNextArea = 0.05 }); Ground.Add(new LandscapeRange() { Name = "BasicMidLand", Color = Color.YellowGreen, Size = 0.3, MixedNextArea = 0.05 }); Ground.Add(new LandscapeRange() { Name = "BasicMontain", Color = Color.Brown, Size = 0.3 }); //Create Ocean Ocean.Add(new LandscapeRange() { Name = "BasicOcean", Color = Color.Navy, Size = 1 }); //Create World World.Add(new LandscapeRange() { Name = "Ocean", Color = Color.Navy, Size = 0.1, MixedNextArea = 0.02 }); World.Add(new LandscapeRange() { Name = "Ground", Color = Color.Gold, Size = 0.9 }); }