ft: wrapping manager overhaul
This commit is contained in:
1 parent
99de1fc113
commit
f83b290f5c
24 files changed
+221
-182
No files matched your search
@@ -1,8 +1,11 @@
|
||||
extends AbstractFood
|
||||
class_name FoodMolecular
|
||||
|
||||
@onready var collision: Area2D = $Collision
|
||||
@onready var sprite: AnimatedSprite2D = $"Collision/Sprite"
|
||||
|
||||
func _ready() -> void:
|
||||
$AnimatedSprite2D.play()
|
||||
sprite.play()
|
||||
|
||||
func _on_body_entered(body: Node2D) -> void:
|
||||
eat(body)
|
||||
|
||||