9 lines
178 B
GDScript
9 lines
178 B
GDScript
extends AnimatedSprite2D
|
|
|
|
var from_player := false
|
|
|
|
func _process(delta: float) -> void:
|
|
$Hitbox.from_player = from_player
|
|
|
|
func _on_animation_finished() -> void:
|
|
queue_free()
|