grunk/src/game/game_runtime.gd

10 lines
220 B
GDScript3
Raw Normal View History

2025-03-22 19:16:52 -06:00
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()