* feat: accept_input implemented * feat: More fixes for accept_input and tests for it * feat: play_snd implemented * fix: Removed game_over and queue_animation commands * docs: Automatic update of API docs * fix: FIxes schedule_event command * feat: Implemented slide and slide_block * feat: Implemented turn_to * docs: Automatic update of API docs Co-authored-by: Dennis Ploeger <develop@dieploegers.de> Co-authored-by: dploeger <dploeger@users.noreply.github.com>
47 lines
634 B
Markdown
47 lines
634 B
Markdown
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
|
|
|
|
# ESCScheduledEvent
|
|
|
|
**Extends:** [Object](../Object)
|
|
|
|
## Description
|
|
|
|
An event that is scheduled to run later
|
|
|
|
## Property Descriptions
|
|
|
|
### event
|
|
|
|
```gdscript
|
|
var event: ESCEvent
|
|
```
|
|
|
|
Event to run when timeout is reached
|
|
|
|
### timeout
|
|
|
|
```gdscript
|
|
var timeout: float
|
|
```
|
|
|
|
The number of seconds until the event is run
|
|
|
|
## Method Descriptions
|
|
|
|
### \_init
|
|
|
|
```gdscript
|
|
func _init(p_event: ESCEvent, p_timeout: float)
|
|
```
|
|
|
|
Create a new scheduled event
|
|
|
|
### run
|
|
|
|
```gdscript
|
|
func run() -> int
|
|
```
|
|
|
|
Run the event
|
|
|
|
**Returns** The execution code |