feat: Implemented all dialog features. Fixes #345 (#376)

Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
This commit is contained in:
Dennis Ploeger
2021-08-27 08:15:52 +02:00
committed by GitHub
parent 2ed184ad4a
commit 1f28fdc8f3
19 changed files with 418 additions and 172 deletions

View File

@@ -0,0 +1,57 @@
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
# ESCDialogOptionsChooser
**Extends:** [Node](../Node)
## Description
Base class for all dialog options implementations
## Property Descriptions
### dialog
```gdscript
var dialog: ESCDialog
```
The dialog to show
## Method Descriptions
### set\_dialog
```gdscript
func set_dialog(new_dialog: ESCDialog) -> void
```
Set the dialog used for the chooser
#### Parameters
- new_dialog: Dialog to set
### show\_chooser
```gdscript
func show_chooser() -> void
```
Show the dialog chooser UI
### hide\_chooser
```gdscript
func hide_chooser() -> void
```
Hide the dialog chooser UI
## Signals
- signal option_chosen(option): An option was chosen
##### Parameters
- option: The dialog option that was chosen