Exemplo n.º 1
0
 public MiningDefenseService(BaseData baseData, ActiveUnitData activeUnitData, IIndividualMicroController workerMicroController, DebugService debugService)
 {
     BaseData              = baseData;
     ActiveUnitData        = activeUnitData;
     WorkerMicroController = workerMicroController;
     DebugService          = debugService;
 }
Exemplo n.º 2
0
        public ReaperCheese(DefaultSharkyBot defaultSharkyBot, IIndividualMicroController scvMicroController) : base(defaultSharkyBot)
        {
            ProxyLocationService = defaultSharkyBot.ProxyLocationService;

            OpeningAttackChatSent = false;
            ProxyTask             = new ProxyTask(defaultSharkyBot.SharkyUnitData, false, 0.9f, MacroData, string.Empty, MicroTaskData, defaultSharkyBot.DebugService, scvMicroController);
            ProxyTask.ProxyName   = GetType().Name;
        }
Exemplo n.º 3
0
 public ReaperWorkerHarassTask(BaseData baseData, TargetingData targetingData, IIndividualMicroController microController, int desiredCount = 2, bool enabled = false, float priority = -1f)
 {
     BaseData        = baseData;
     TargetingData   = targetingData;
     MicroController = microController;
     DesiredCount    = desiredCount;
     Priority        = priority;
     Enabled         = enabled;
     UnitCommanders  = new List <UnitCommander>();
 }
Exemplo n.º 4
0
 public FindHiddenBaseTask(BaseData baseData, TargetingData targetingData, MapDataService mapDataService, IIndividualMicroController individualMicroController, int desiredCount = 15, bool enabled = true, float priority = -1f)
 {
     BaseData                  = baseData;
     TargetingData             = targetingData;
     MapDataService            = mapDataService;
     IndividualMicroController = individualMicroController;
     DesiredCount              = desiredCount;
     Priority                  = priority;
     Enabled        = enabled;
     UnitCommanders = new List <UnitCommander>();
 }
Exemplo n.º 5
0
        public ProxyScoutTask(SharkyUnitData sharkyUnitData, TargetingData targetingData, BaseData baseData, SharkyOptions sharkyOptions, bool enabled, float priority, IIndividualMicroController individualMicroController)
        {
            SharkyUnitData            = sharkyUnitData;
            TargetingData             = targetingData;
            BaseData                  = baseData;
            SharkyOptions             = sharkyOptions;
            Priority                  = priority;
            IndividualMicroController = individualMicroController;

            UnitCommanders = new List <UnitCommander>();
            Enabled        = enabled;
            LateGame       = false;
        }
Exemplo n.º 6
0
        public WorkerScoutTask(SharkyUnitData sharkyUnitData, TargetingData targetingData, MapDataService mapDataService, bool enabled, float priority, IIndividualMicroController individualMicroController, DebugService debugService, BaseData baseData, AreaService areaService)
        {
            SharkyUnitData            = sharkyUnitData;
            TargetingData             = targetingData;
            MapDataService            = mapDataService;
            Priority                  = priority;
            IndividualMicroController = individualMicroController;
            DebugService              = debugService;
            BaseData                  = baseData;
            AreaService               = areaService;

            UnitCommanders = new List <UnitCommander>();
            Enabled        = enabled;
        }
Exemplo n.º 7
0
        public ProxyTask(SharkyUnitData sharkyUnitData, bool enabled, float priority, MacroData macroData, string proxyName, MicroTaskData microTaskData, DebugService debugService, IIndividualMicroController individualMicroController, int desiredWorkers = 1)
        {
            SharkyUnitData            = sharkyUnitData;
            Priority                  = priority;
            MacroData                 = macroData;
            ProxyName                 = proxyName;
            MicroTaskData             = microTaskData;
            DebugService              = debugService;
            IndividualMicroController = individualMicroController;

            UnitCommanders = new List <UnitCommander>();
            Enabled        = enabled;
            DesiredWorkers = desiredWorkers;
        }
Exemplo n.º 8
0
        public ProxyVoidRay(BuildOptions buildOptions, MacroData macroData, ActiveUnitData activeUnitData, AttackData attackData, ChatService chatService, ChronoData chronoData, SharkyOptions sharkyOptions, MicroTaskData microTaskData, ICounterTransitioner counterTransitioner, SharkyUnitData unitDataManager, ProxyLocationService proxyLocationService, DebugService debugService, UnitCountService unitCountService, IIndividualMicroController probeMicroController)
            : base(buildOptions, macroData, activeUnitData, attackData, chatService, chronoData, counterTransitioner, unitCountService)
        {
            SharkyOptions        = sharkyOptions;
            MicroTaskData        = microTaskData;
            SharkyUnitData       = unitDataManager;
            ProxyLocationService = proxyLocationService;

            OpeningAttackChatSent  = false;
            CancelledProxyChatSent = false;

            ProxyTask           = new ProxyTask(SharkyUnitData, false, 0.9f, MacroData, string.Empty, MicroTaskData, debugService, probeMicroController);
            ProxyTask.ProxyName = GetType().Name;
        }
Exemplo n.º 9
0
        public ReaperCheese(BuildOptions buildOptions, MacroData macroData, ActiveUnitData activeUnitData, AttackData attackData, ChatService chatService, MicroTaskData microTaskData, UnitCountService unitCountService, SharkyUnitData sharkyUnitData, ProxyLocationService proxyLocationService, DebugService debugService, IIndividualMicroController scvMicroController) : base(buildOptions, macroData, activeUnitData, attackData, chatService, unitCountService)
        {
            MicroTaskData        = microTaskData;
            ProxyLocationService = proxyLocationService;

            OpeningAttackChatSent = false;
            ProxyTask             = new ProxyTask(sharkyUnitData, false, 0.9f, MacroData, string.Empty, MicroTaskData, debugService, scvMicroController);
            ProxyTask.ProxyName   = GetType().Name;
        }
Exemplo n.º 10
0
        public ProxyVoidRay(DefaultSharkyBot defaultSharkyBot, ICounterTransitioner counterTransitioner, IIndividualMicroController probeMicroController)
            : base(defaultSharkyBot, counterTransitioner)
        {
            SharkyOptions        = defaultSharkyBot.SharkyOptions;
            SharkyUnitData       = defaultSharkyBot.SharkyUnitData;
            ProxyLocationService = defaultSharkyBot.ProxyLocationService;

            OpeningAttackChatSent  = false;
            CancelledProxyChatSent = false;

            ProxyTask           = new ProxyTask(SharkyUnitData, false, 0.9f, MacroData, string.Empty, MicroTaskData, defaultSharkyBot.DebugService, probeMicroController);
            ProxyTask.ProxyName = GetType().Name;
        }