public void OpenPack(List <string> words)
        {
            InputControl.TypeKeys(" ");
            Thread.Sleep(5000);
            List <int[]> points = locator.CardPacks().ToList();

            int[] doneButton = points.Last();
            points.RemoveAt(points.Count - 1);
            foreach (int[] cardPosition in points)
            {
                InputControl.MouseClick(cardPosition, "left", ClickDelay / 2);
            }
            Thread.Sleep(2500);
            InputControl.MouseClick(doneButton, "left", ClickDelay / 2);
        }
 public void Escape(List <string> words)
 {
     InputControl.TypeKeys("{ESC}");
 }
 public void ConcedeGame(List <string> words)
 {
     InputControl.TypeKeys("{ESC}");
     Thread.Sleep(ClickDelay);
     InputControl.MouseClick(locator.ConcedeButton());
 }
Exemple #4
0
 public void EndTurn(List <string> words)
 {
     InputControl.TypeKeys("{ESC}");
     InputControl.MouseClick(locator.EndTurnButton());
 }