Files
gymkhana-actions/docs/api/ESCInputsManager.md
Dennis Ploeger 60ea4d851b Issue 320 (#396) - Mobile fixes
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-23 08:32:08 +02:00

88 lines
1.2 KiB
Markdown

<!-- Auto-generated from JSON by GDScript docs maker. Do not edit this document directly. -->
# ESCInputsManager
**Extends:** [Node](../Node)
## Description
Escoria inputs manager
Catches, handles and distributes input events for the game
## Constants Descriptions
### INPUT\_ALL
```gdscript
const INPUT_ALL: int = 0
```
### INPUT\_NONE
```gdscript
const INPUT_NONE: int = 1
```
### INPUT\_SKIP
```gdscript
const INPUT_SKIP: int = 2
```
## Property Descriptions
### input\_mode
```gdscript
var input_mode
```
The current input mode
### hover\_stack
```gdscript
var hover_stack: Array
```
A LIFO stack of hovered items
### hotspot\_focused
```gdscript
var hotspot_focused: String = ""
```
The global id of the topmost item from the hover_stack
## Method Descriptions
### register\_core
```gdscript
func register_core()
```
Register core signals (from escoria.gd)
### register\_inventory\_item
```gdscript
func register_inventory_item(item: Node)
```
Connect the item signals to the local methods
### register\_background
```gdscript
func register_background(background: ESCBackground)
```
### clear\_stack
```gdscript
func clear_stack()
```
Clear the stack of hovered items