generated from krampus/template-godot4
10 lines
220 B
GDScript3
10 lines
220 B
GDScript3
|
class_name GameRuntimeType extends Node
|
||
|
## Autoloaded runtime manager
|
||
|
|
||
|
|
||
|
func _notification(what: int) -> void:
|
||
|
if what == NOTIFICATION_WM_CLOSE_REQUEST:
|
||
|
# Handle close request here
|
||
|
# TODO: save?
|
||
|
get_tree().quit()
|