Brick Final

mail@pastecode.io avatar
unknown
plain_text
2 years ago
226 B
58
Indexable
extends StaticBody2D

func remove_brick():
	$Sprite.queue_free()
	$CollisionShape2D.queue_free()
	$CPUParticles2D.emitting = true
	$Timer.start()
	remove_from_group("brick")

func _on_Timer_timeout():
	queue_free()