chore: run gdformat on all gdscript files

This commit is contained in:
2025-08-19 08:43:13 +02:00
parent efb9f0d92f
commit 77f1d0811c
10 changed files with 69 additions and 24 deletions

View File

@@ -9,6 +9,7 @@ extends Node2D
var enemy_scene = preload("res://scenes/enemies/enemy.tscn")
func _ready() -> void:
timer.wait_time = spawn_rate / 1
timer.start()
@@ -23,7 +24,8 @@ func _on_timer_timeout() -> void:
new_enemy.position = target.position + Vector2(50, 50)
new_enemy.target = target
add_child(new_enemy)
func _on_stop_spawning(val: bool):
if val:
timer.stop()