Add circle timer
This commit is contained in:
1 parent
79f41e7a41
commit
8c45591df9
14 files changed
+122
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user