Ejemplo n.º 1
0
        public Biome(TempatureRange tempature, PressureRange pressure, double humidity, string name, Year startYear, Year endYear, string description, List <string> keywords)
        {
            Tempature   = tempature;
            Pressure    = pressure;
            Humidity    = humidity;
            Name        = name;
            StartYear   = startYear;
            EndYear     = endYear;
            Description = description;
            Keywords    = keywords;

            //These are done seperate.
            Biomes = new ObservableCollection <Biome>();
        }
Ejemplo n.º 2
0
        public void Edit(ObservableCollection <Biome> biomes, TempatureRange tempature, PressureRange pressure, double humidity, string name, Year startYear, Year endYear, string description, List <string> keywords)
        {
            Tempature   = tempature;
            Pressure    = pressure;
            Humidity    = humidity;
            Name        = name;
            StartYear   = startYear;
            EndYear     = endYear;
            Description = description;
            Keywords    = keywords;

            //This differs from Construction in that it will generally pass the old biome and old energies back in.
            Biomes = biomes;
        }