* 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>
1.1 KiB
1.1 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 fo 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)