Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized existing functions.

This commit is contained in:
Kirill
2026-05-05 23:49:12 +03:00
parent fc86261a9d
commit df563bf1b1
44 changed files with 350 additions and 312 deletions
-9
View File
@@ -2,15 +2,9 @@ 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:
@@ -24,6 +18,3 @@ func add_delta(delta: float) -> void:
func debug() -> void:
print(is_active, " | ", value, " of ", sec)
#func _init():