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

@@ -20,18 +20,6 @@ Wether the player is currently speaking
## Method Descriptions
### preload\_resources
```gdscript
func preload_resources(path: String) -> void
```
Preload the dialog UI resources
#### Parameters
- path: Path where the actual dialog UI resources are located
### say
```gdscript
@@ -62,13 +50,21 @@ func start_dialog_choices(dialog: ESCDialog)
Display a list of choices
#### Parameters
- dialog: The dialog to start
### play\_dialog\_option\_chosen
```gdscript
func play_dialog_option_chosen(option: ESCDialogOption)
```
Called when an option was chosen
Called when an option was chosen and emits the option_chosen signal
#### Parameters
- option: Option, that was chosen.
## Signals