Files
gymkhana-actions/docs/api/ESCInputsManager.md
Dennis Ploeger c1c25aae03 Optimized item and background signal handling (#365)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-08-10 22:14:00 +02:00

1020 B

ESCInputsManager

Extends: Node

Description

Escoria inputs manager Catches, handles and distributes input events for the game

Constants Descriptions

INPUT_ALL

const INPUT_ALL: int = 0

INPUT_NONE

const INPUT_NONE: int = 1

INPUT_SKIP

const INPUT_SKIP: int = 2

Property Descriptions

input_mode

var input_mode

The current input mode

hover_stack

var hover_stack: Array

A LIFO stack of hovered items

hotspot_focused

var hotspot_focused: String = ""

The global id fo the topmost item from the hover_stack

Method Descriptions

register_inventory_item

func register_inventory_item(item: Node)

Connect the item signals to the local methods

register_background

func register_background(background: ESCBackground)