Example #1
0
    def test_basic_commands(self):
        win_handler = wh.WinHandler()
        pixel_handler = ps.PixelSearch(win_handler)
        mouse_handler = mm.MouseMovement(win_handler)

        com = CommandAndControl(win_handler, pixel_handler, mouse_handler)

        com.use_UAV((0.5, 0.5))
        sleep(2)
        com.use_EMP((0.4, 0.4))
Example #2
0
    def test_basic_commands(self):
        win_handler = wh.WinHandler()
        pixel_handler = ps.PixelSearch(win_handler)
        mouse_handler = mm.MouseMovement(win_handler)

        com = CommandAndControl(win_handler, pixel_handler, mouse_handler)

        com.use_UAV((0.5, 0.5))
        sleep(2)
        com.use_EMP((0.4, 0.4))