1
Fork 0
mirror of https://github.com/Cookie-CHR/OfficeMadness-LD51.git synced 2024-11-23 07:04:19 +00:00
office-madness/Scripts/TimePassed.gd
2022-10-04 12:03:41 +02:00

19 lines
241 B
GDScript

extends Timer
var seconds_passed
# Called when the node enters the scene tree for the first time.
func _ready():
_play()
func _on_Timer_timeout():
seconds_passed += 1
func _play():
seconds_passed = 0
start()
func _stop():
stop()