1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 09:04:19 +00:00
swear-jar/converters/working_timer.gd

16 lines
221 B
GDScript

extends Timer
class_name WorkingTimer
@export var working_sound: AudioStreamPlayer2D
func do_start():
if working_sound:
working_sound.play()
start()
func _on_timeout():
if working_sound:
working_sound.stop()