Update Timeouts
@ -12,3 +12,8 @@ def onEvent(self, event):
|
|||||||
if event.type == gameUtils.Timeout:
|
if event.type == gameUtils.Timeout:
|
||||||
print(f'Timeout {event.timeoutID} just fired.')
|
print(f'Timeout {event.timeoutID} just fired.')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## To see if there's a timeout on the stack:
|
||||||
|
```python
|
||||||
|
self.awaitingTimeout(timeoutID)
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user