conforms file names to consistant standard

This commit is contained in:
2026-02-21 04:24:04 +11:00
parent 6b67dd9755
commit 5a4ad8633a
1991 changed files with 3836 additions and 7976 deletions

View File

@@ -0,0 +1,29 @@
class_name Projectile
extends RigidBody3D
@export var collision_shape: CollisionShape3D
var owner_id: int = 0 #should be left unchanged by towers, 1 for host, peer_id on peers
var direction: Vector3 = Vector3.FORWARD
var force: float = 2.0
var damage: float = 0.0
var lifetime: float = 10.0
var time_alive: float = 0.0
var effect: Effect
func _ready() -> void:
apply_central_impulse(direction * force)
func _process(delta: float) -> void:
time_alive += delta
func _on_body_entered(_body: Node) -> void:
pass # Replace with function body.
@rpc("reliable")
func networked_kill() -> void:
queue_free()