public static void UseOnPosition(string hotkey, int xPosition, int yPosition, int floor)
 {
     if (GetData.isOnScreen(xPosition, yPosition, floor))
     {
         DefaultActions.hotkey(hotkey);
         Thread.Sleep(100);
         DefaultActions.Click(xPosition, yPosition, floor, false);
         Thread.Sleep(500);
     }
 }
Beispiel #2
0
 public void DoAction()
 {
     DefaultActions.DoAction(defaultAction, args);
 }