Esempio n. 1
0
        public static void OpenRewardBag(Interactor intr, ImageSearchResult bagImageResult)
        {
            const int CLICK_OFS_MAX = 25;

            Mouse.DoubleClick(intr, bagImageResult.Point.X + intr.Rand(5, CLICK_OFS_MAX),
                              bagImageResult.Point.Y + intr.Rand(5, CLICK_OFS_MAX));
        }
Esempio n. 2
0
 public static void OpenRewardBag(Interactor intr, ImageSearchResult bagImageResult)
 {
     const int CLICK_OFS_MAX = 25;
     Mouse.DoubleClick(intr, bagImageResult.Point.X + intr.Rand(5, CLICK_OFS_MAX),
             bagImageResult.Point.Y + intr.Rand(5, CLICK_OFS_MAX));
 }