Beispiel #1
0
        public static RaceConstantsInfo GetProtossRaceConstants()
        {
            var consts = new RaceConstantsInfo();

            consts.DefaultBaseBuildingName              = "Nexus";
            consts.EnergyGeneratorBuildItemName         = "Nexus";
            consts.EnergyCastGenerateTime               = 44;
            consts.EnergyCastLimitPerEnergyGenerator    = 4;
            consts.EnergyCastCountForNewEnergyGenerator = 0;

            return(consts);
        }
Beispiel #2
0
        public static RaceConstantsInfo GetTerranRaceConstants()
        {
            var consts = new RaceConstantsInfo();

            consts.DefaultBaseBuildingName              = "CommandCenter";
            consts.EnergyGeneratorBuildItemName         = "OrbitalCommand";
            consts.EnergyCastGenerateTime               = 88;
            consts.EnergyCastLimitPerEnergyGenerator    = 4;
            consts.EnergyCastCountForNewEnergyGenerator = 1;

            return(consts);
        }
Beispiel #3
0
        public static RaceConstantsInfo GetZergRaceConstants()
        {
            var consts = new RaceConstantsInfo();

            consts.DefaultBaseBuildingName              = "Hatchery";
            consts.EnergyGeneratorBuildItemName         = "Queen";
            consts.EnergyCastGenerateTime               = 40;
            consts.EnergyCastLimitPerEnergyGenerator    = 4;
            consts.EnergyCastCountForNewEnergyGenerator = 1;

            return(consts);
        }
Beispiel #4
0
 public BuildItemStatistics(RaceConstantsInfo raceSettings, Dictionary <string, int> itemCountDictionary)
 {
     this.mRaceConstants        = raceSettings;
     this.mStatValuesDictionary = itemCountDictionary;
 }
Beispiel #5
0
 public BuildItemStatistics(RaceConstantsInfo raceSettings)
     : this(raceSettings, new Dictionary <string, int>())
 {
 }