diff options
Diffstat (limited to 'Explosion.gd')
-rw-r--r-- | Explosion.gd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Explosion.gd b/Explosion.gd new file mode 100644 index 0000000..65d7047 --- /dev/null +++ b/Explosion.gd @@ -0,0 +1,20 @@ +extends Area2D + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + $AnimatedSprite.play() + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + + +func _on_AnimatedSprite_animation_finished(): + queue_free() |