cooking again
This commit is contained in:
parent
b0b210a8be
commit
dafae35985
14 changed files with 218 additions and 10 deletions
13
apple_pit_man.gd
Normal file
13
apple_pit_man.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends Node2D
|
||||
|
||||
@export var snake_man : Node2D
|
||||
@export var count : Label
|
||||
|
||||
# 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:
|
||||
count.text = str(snake_man.pit_apples)
|
||||
Loading…
Add table
Add a link
Reference in a new issue