]> Untitled Git - frog-ninja.git/blob - player/sword.gd
Refactoring
[frog-ninja.git] / player / sword.gd
1 extends Node3D
2 class_name PlayerSword
3
4
5 func _on_hurtbox_body_entered(body: Node3D) -> void:
6         if body.get_tree().get_node_count_in_group("hitbox"):
7                 print_debug("Found hitbox: " + str(body))