generated from krampus/template-godot4
All checks were successful
linting & formatting / build (push) Successful in 12s
itch.io publish action / build (linux64, x86_64) (push) Successful in 2m35s
itch.io publish action / build (osx, app) (push) Successful in 2m37s
itch.io publish action / build (win64, exe) (push) Successful in 2m40s
10 lines
220 B
GDScript
10 lines
220 B
GDScript
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()
|