SummerDay/addons/summer_day/tools/tool_system/base_tool.gd
2022-01-02 16:42:55 +01:00

22 lines
344 B
GDScript

extends Object
class_name SummerDayTool
var priority = 0
var modifier_layer = 0
func _handle_global_input(event: InputEvent): # Virtual.
pass
func _check_for_use(event: InputEvent) -> bool: # Virtual.
return false
func _run(event: InputEvent): # Virtual.
pass
func get_priority_score() -> int:
return priority * 4 + modifier_layer