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

@@ -17,9 +17,11 @@ func enter_from(state):
ctx.gen_timer.start()
ctx.status_light.activate()
ctx.progress_text.text = "Progress: 0%"
ctx.circle_timer.set_timer(ctx.gen_timer)
func exit_to(state):
ctx.gen_timer.stop()
ctx.circle_timer.clear_timer()
func update(delta):
var time_left : float = ctx.gen_timer.time_left