mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Add: [ALAS] Timer.set_current()
This commit is contained in:
parent
0be028427b
commit
76318175e8
@ -112,6 +112,10 @@ class Timer:
|
||||
else:
|
||||
return 0.
|
||||
|
||||
def set_current(self, current, count=0):
|
||||
self._current = time.time() - current
|
||||
self._reach_count = count
|
||||
|
||||
def reached(self):
|
||||
"""
|
||||
Returns:
|
||||
|
Loading…
Reference in New Issue
Block a user