2024-04-16 20:29:45 -04:00
|
|
|
extends StaticBody2D
|
|
|
|
|
2024-04-18 15:02:37 -04:00
|
|
|
func _ready():
|
|
|
|
$AnimatedSprite.play("idle")
|
2024-04-16 20:29:45 -04:00
|
|
|
|
|
|
|
func destroy():
|
|
|
|
var timer = Timer.new()
|
|
|
|
if not is_queued_for_deletion():
|
|
|
|
$"../Player".aquire_quare()
|
|
|
|
queue_free()
|