cooking again

This commit is contained in:
Tabby 2025-09-02 23:17:10 +10:00
parent b0b210a8be
commit dafae35985
14 changed files with 218 additions and 10 deletions

15
uiman.gd Normal file
View file

@ -0,0 +1,15 @@
extends Control
@export var food_bar : ProgressBar
@export var snake_manager : Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
food_bar.max_value = snake_manager.max_food
food_bar.value = snake_manager.food