Init
This commit is contained in:
5
scripts/actions/action_quit.gd
Normal file
5
scripts/actions/action_quit.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
class_name QuitAction
|
||||
extends ClickAction
|
||||
|
||||
func execute(clickable: Node, hit_position: Vector3) -> void:
|
||||
clickable.get_tree().quit()
|
||||
Reference in New Issue
Block a user