add hud.is_paused and hud.is_inventory_open

This commit is contained in:
MihailRis
2024-07-10 10:12:07 +03:00
parent 7487c55e0c
commit adabe781c5
4 changed files with 37 additions and 0 deletions
+12
View File
@@ -582,6 +582,18 @@ hud.resume()
Закрывает меню паузы.
```python
hud.is_paused() -> bool
```
Возвращает true если открыто меню паузы.
```python
hud.is_inventory_open() -> bool
```
Возвращает true если открыт инвентарь или оверлей.
## Библиотека time
```python