mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
Refactor: module/device, separate all screenshot method and control methods
- Better screenshot and control retries, handle common exceptions
This commit is contained in:
@@ -49,7 +49,7 @@ class Camera(MapOperation):
|
||||
|
||||
vector = distance * vector
|
||||
vector = -vector
|
||||
self.device.swipe(vector, name=name, box=box, whitelist_area=whitelist, blacklist_area=blacklist)
|
||||
self.device.swipe_vector(vector, name=name, box=box, whitelist_area=whitelist, blacklist_area=blacklist)
|
||||
self.device.sleep(0.3)
|
||||
self.update()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user