예제 #1
0
def choose_level1():
    time.sleep(1)

    tap_sleep(513, 534)

    tap_sleep(1090, 174)

    tap_sleep(200, 387)

    for i in range(5):
        swipe(200, 250, 210, 580, 300)

    tap_sleep(217, 95)
예제 #2
0
파일: money.py 프로젝트: zzms/kog-money
from util import tap_screen, swipe
from kog import main
import time


def tap_sleep(x, y):
    tap_screen(x, y)

    time.sleep(0.5)


if __name__ == '__main__':
    tap_sleep(1007, 531)

    tap_sleep(784, 379)

    tap_sleep(658, 346)

    swipe(313, 582, 318, 250, 500)

    tap_sleep(681, 377)

    tap_sleep(1006, 610)

    main()
예제 #3
0
 def execute(self):
     swipe(*self.cord)
예제 #4
0
def swipe_hero(reverse=False):
    if reverse:
        swipe(65, 200, 65, 600, 1500)
    else:
        swipe(65, 600, 65, 200, 1500)