Food boundary + animation sprite

This commit is contained in:
2026-02-07 17:50:29 +01:00
parent 1dc1501b80
commit 0f06846157
2 changed files with 58 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
extends AbstractFood
class_name FoodMolecular
func _ready() -> void:
$AnimatedSprite2D.play()
func _on_body_entered(body: Node2D) -> void:
eat(body)