This commit is contained in:
2026-10-07 17:58:02 +08:00
commit 456aa52ede
409 changed files with 11297 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
extends Area2D
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta: float) -> void:
pass
func _on_body_entered(body: Node2D) -> void:
if body.is_in_group("Player"):
if body.has_method("take_damage"):
body.take_damage(1)