Esempio n. 1
0
 /// <summary>
 /// Initializes the Phasmatys rotation bot list.
 /// This should only be called to initialize the base RunParams.
 /// </summary>
 private void InitializePhasmatys()
 {
     PhasmatysParams = new RunParamsList(PhasmatysRotation.NUMBER_OF_BOTS, RunUntil);
     for (int i = 0; i < PhasmatysParams.Count; i++)
     {
         PhasmatysParams.ParamsList[i] = new PhasmatysRunParams();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes the rotation bot list.
 /// This should only be called to initialize the base RunParams.
 /// </summary>
 private void InitializeRotation()
 {
     RotationParams = new RunParamsList(SimpleRotation.NUMBER_OF_BOTS, RunUntil);
     for (int i = 0; i < RotationParams.Count; i++)
     {
         RotationParams.ParamsList[i] = new RotationRunParams();
     }
 }
Esempio n. 3
0
 public SimpleRotation(RunParams runParams, RunParamsList botList) : base(runParams)
 {
     BotParamsList           = botList;
     BotParamsList.ActiveBot = -1;
     for (int i = 0; i < BotParamsList.Count; i++)
     {
         BotParamsList[i].SlaveDriver   = true;
         BotParamsList[i].JagexClient   = runParams.JagexClient;
         BotParamsList[i].OSBuddyClient = runParams.OSBuddyClient;
     }
 }
 public PhasmatysRotation(RunParams runParams, RunParamsList botList) : base(runParams, botList)
 {
 }