コード例 #1
0
        public ColonyFormulaSet(Formula colonizationPopThreshold, Formula uncolonizedMaxPopulation, Formula farmFields,
                                Formula environmentFactor, Formula maxPopulation, DerivedStatistic populationGrowth,
                                Formula organization, Formula spaceliftFactor,
                                PopulationActivityFormulas farming, PopulationActivityFormulas gardening,
                                PopulationActivityFormulas mining, PopulationActivityFormulas development,
                                PopulationActivityFormulas industry,
                                Formula repairPoints, Formula populationHitPoints)
        {
            this.ColonizationPopulationThreshold = colonizationPopThreshold;
            this.UncolonizedMaxPopulation        = uncolonizedMaxPopulation;
            this.FarmFields        = farmFields;
            this.EnvironmentFactor = environmentFactor;
            this.MaxPopulation     = maxPopulation;
            this.PopulationGrowth  = populationGrowth;
            this.Organization      = organization;
            this.SpaceliftFactor   = spaceliftFactor;

            this.Farming     = farming;
            this.Gardening   = gardening;
            this.Mining      = mining;
            this.Development = development;
            this.Industry    = industry;

            this.RepairPoints        = repairPoints;
            this.PopulationHitPoints = populationHitPoints;
        }
コード例 #2
0
        public ColonyFormulaSet(
            Formula colonizationPopThreshold, Formula uncolonizedMaxPopulation, Formula victoryPointWorth,
            Formula farmFields, Formula environmentFactor,
            Formula maxPopulation, DerivedStatistic populationGrowth, Formula minerals, Formula emigrants,
            Formula organization, Formula spaceliftFactor, Formula desirability,
            PopulationActivityFormulas farming, PopulationActivityFormulas gardening,
            PopulationActivityFormulas development, PopulationActivityFormulas industry,
            Formula fuelProduction, Formula fuelCost, Formula repairPoints,
            Formula populationHitPoints, Formula MaintenanceTotalLimit)
        {
            this.ColonizationPopulationThreshold = colonizationPopThreshold;
            this.UncolonizedMaxPopulation        = uncolonizedMaxPopulation;
            this.VictoryPointWorth = victoryPointWorth;

            this.FarmFields        = farmFields;
            this.EnvironmentFactor = environmentFactor;
            this.MaxPopulation     = maxPopulation;
            this.PopulationGrowth  = populationGrowth;
            this.Minerals          = minerals;
            this.Emigrants         = emigrants;
            this.Organization      = organization;
            this.SpaceliftFactor   = spaceliftFactor;
            this.Desirability      = desirability;

            this.Farming   = farming;
            this.Gardening = gardening;

            this.Development = development;
            this.Industry    = industry;

            this.FuelProduction        = fuelProduction;
            this.FuelCost              = fuelCost;
            this.RepairPoints          = repairPoints;
            this.PopulationHitPoints   = populationHitPoints;
            this.MaintenanceTotalLimit = MaintenanceTotalLimit;
        }