Add circle timer

This commit is contained in:
snider committed 2022-08-21 12:07:27 -07:00
1 parent 79f41e7a41
commit 8c45591df9
14 files changed
+122 -9

No files matched your search

+2 -1
View File
@@ -17,9 +17,10 @@ func enter_from(state):
ctx.status_light.activate()
ctx.gen_timer.start()
ctx.emit_signal("gen_started")
ctx.circle_timer.set_timer(ctx.gen_timer)
func exit_to(state):
pass
ctx.circle_timer.clear_timer()
func update(delta):
var time_left : float = ctx.gen_timer.time_left