forked from team-sg/hero-mark-2
renamed tin_die to robot_die
This commit is contained in:
parent
a5302367de
commit
51a3214407
1 changed files with 9 additions and 0 deletions
9
objects/enemy/robot_die.gd
Normal file
9
objects/enemy/robot_die.gd
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
extends Node2D
|
||||||
|
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
$AnimatedSprite.playing = true
|
||||||
|
|
||||||
|
|
||||||
|
func _on_AnimatedSprite_animation_finished():
|
||||||
|
$AnimatedSprite.queue_free()
|
Loading…
Add table
Add a link
Reference in a new issue