grunk/src/equipment/beam/sprayable.gd

13 lines
258 B
GDScript3
Raw Normal View History

class_name Sprayable extends StaticBody3D
## Called each frame this node takes a hit.
##
## Derived types should override `_hit()` as a lifecycle method.
2025-06-29 16:41:14 -06:00
func hit(_damage: float) -> void:
_hit()
func _hit() -> void:
pass # Implemented in derived type