Files
gymkhana-actions/docs/api/ESCActionManager.md
Dennis Ploeger 58d880101d Optimized Docs (#7)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-22 23:06:20 +02:00

977 B

ESCActionManager

Extends: Object

Description

Manages currently carried out actions

Property Descriptions

current_action

var current_action: String = ""
  • Setter: set_current_action

Current verb used

current_tool

var current_tool: ESCObject

Current tool (ESCItem/ESCInventoryItem) used

Method Descriptions

set_current_action

func set_current_action(action: String)

Set the current action

clear_current_action

func clear_current_action()

Clear the current action

clear_current_tool

func clear_current_tool()

Clear the current tool

activate

func activate(action: String, target: ESCObject, combine_with: ESCObject = null) -> var

Signals

  • signal action_changed(): The current action was changed