grunk/src/game/game_runtime.gd
Rob Kelly e2ca0cb1a2
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
Ported settings menu from GFOLF
2025-03-22 19:16:52 -06:00

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()