1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-30 16:00:14 +08:00

Revert "Revert "Merge branch 'dev' of https://github.com/LmeSzinc/AzurLaneAutoScript into dev""

This reverts commit ac9303012c.
This commit is contained in:
whoamikyo
2020-08-18 20:48:14 -03:00
parent ac9303012c
commit 09d3f695de
741 changed files with 18944 additions and 8381 deletions

View File

@@ -122,6 +122,17 @@ class Timer:
self._current = time.time()
self._reach_count = 0
def reached_and_reset(self):
"""
Returns:
bool:
"""
if self.reached():
self.reset()
return True
else:
return False
def wait(self):
"""
Wait until timer reached.