diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-02-08 15:06:31 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-02-08 15:06:31 +0100 |
commit | e216bf93e77ceb42c8c5dc5e77ebff6e1968faa3 (patch) | |
tree | 1d589072972f34c3314bb740d2e257719fb54bed /Levels | |
parent | cc278651a6aee0de5f928b4bc423e3b705a6b006 (diff) |
Adds Cancel Button to Level HUD
Diffstat (limited to 'Levels')
-rw-r--r-- | Levels/Level.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Levels/Level.gd b/Levels/Level.gd index 7544dd9..6777854 100644 --- a/Levels/Level.gd +++ b/Levels/Level.gd @@ -7,11 +7,13 @@ var timer = 0 var HUD = CanvasLayer.new() var LabelTimer = preload("res://UI/HUD/Timer.tscn").instance() var LevelMap = preload("res://UI/HUD/LevelMap.tscn").instance() +var CancelButton = preload("res://UI/HUD/CancelButton.tscn").instance() func _ready(): self.HUD.add_child(self.LabelTimer) self.HUD.add_child(self.LevelMap) + self.HUD.add_child(self.CancelButton) self.add_child(self.HUD) var character = load("res://Characters/" + Network.player.character + ".tscn").instance() |