Moved and split escoria._ev_left_click_on_item() function into ESCController (#371)

* Moved and split escoria._ev_left_click_on_item() function into ESCController.
Added a boolean in ESCWalkContext to hold whether interact should happen after destination is reached.

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian Murgia
2021-08-24 08:19:55 +02:00
committed by GitHub
parent fc3ea147a7
commit b230966fc6
11 changed files with 396 additions and 225 deletions

18
docs/api/ESCController.md Normal file
View File

@@ -0,0 +1,18 @@
<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
# ESCController
## Method Descriptions
### perform\_walk
```gdscript
func perform_walk(moving_obj: ESCObject, destination, is_fast: bool = false)
```
### perform\_inputevent\_on\_object
```gdscript
func perform_inputevent_on_object(obj: ESCObject, event: InputEvent, default_action: bool = false)
```