diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-25 00:39:49 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-25 00:39:49 +0200 |
commit | 66a83b84af05256c468f4cc47545ce592a9353fc (patch) | |
tree | b689ddd46ebe95eed9d0ed2bc14cfebbad19d867 /scenes/levels/base_level.gd | |
parent | 7d3d98f6b6546d8ddcd7a2a4c8e9431c59880223 (diff) | |
download | ldjam48-66a83b84af05256c468f4cc47545ce592a9353fc.tar.gz ldjam48-66a83b84af05256c468f4cc47545ce592a9353fc.tar.bz2 ldjam48-66a83b84af05256c468f4cc47545ce592a9353fc.zip |
pause
Diffstat (limited to 'scenes/levels/base_level.gd')
-rw-r--r-- | scenes/levels/base_level.gd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scenes/levels/base_level.gd b/scenes/levels/base_level.gd new file mode 100644 index 0000000..7eaf734 --- /dev/null +++ b/scenes/levels/base_level.gd @@ -0,0 +1,16 @@ +extends Node2D + +onready var pause_menu = $PauseMenu + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + +func _on_MenuButton_on_click(): + pause_menu.visible = true + pause_menu.pause() |