Screens and swipe

This commit is contained in:
Kirill
2026-03-09 16:10:35 +03:00
parent 984f091863
commit fba4aef9ab
7 changed files with 1794 additions and 139 deletions
+29
View File
@@ -0,0 +1,29 @@
class_name Counter extends RefCounted
var is_active: bool = false
var sec: float = 1
var value: float = 0
#func set_inactive() -> void:
#is_active = false
#
#func set_active() -> void:
#is_active = true
func is_reached() -> bool:
if value >= sec:
return true
else:
return false
func add_delta(delta: float) -> void:
value += delta
func debug() -> void:
print(is_active, " | ", value, " of ", sec)
#func _init():