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); } }
public void DoAction() { DefaultActions.DoAction(defaultAction, args); }