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

1.2 KiB

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 of the topmost item from the hover_stack

Method Descriptions

register_core

func register_core()

Register core signals (from escoria.gd)

register_inventory_item

func register_inventory_item(item: Node)

Connect the item signals to the local methods

register_background

func register_background(background: ESCBackground)

clear_stack

func clear_stack()

Clear the stack of hovered items