extends Node var hud : UI var is_inv_open : bool = false func _ready() -> void: hud = get_tree().get_root().get_node("Node2D/HUD") func display_health(n : int) -> void: hud.display_health(n) func add_machette() -> void: hud.add_machette() func remove_machette() -> void: hud.remove_machette() func switch_tool() -> void: hud.switch_tool() func update_masks(masks : Array[int]) -> void: hud.update_masks(masks) func show_mask_bubble() -> void: hud.show_mask_bubble() func death() -> void: hud.death() func next_level(level : int) -> void: hud.next_level(level)