summaryrefslogtreecommitdiff
path: root/scenes/levels/base_level.gd
blob: c42e5489598a703fe024ae113a69058bcbff6e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
extends Node2D

onready var pause_menu = $PauseMenu

# Called when the node enters the scene tree for the first time.
func _ready():
	$Control/TextReveal.start()
	$healthbar.set_health(2)

func _on_MenuButton_on_click():
	pause_menu.pause()