gun system + minigun

This commit is contained in:
Michael Campbell 2026-02-19 00:04:31 -05:00
parent 84415d5aca
commit f73f093ae2
13 changed files with 84 additions and 24 deletions

View file

@ -6,7 +6,7 @@ func _ready() -> void:
assert(get_parent() is PoliceCar)
parent = get_parent()
func hit(projectile: PlayerProjectile) -> bool:
func hit(projectile: PlayerProjectile, _damage: float) -> bool:
if projectile == null: return false
var angle := projectile.velocity.angle_to(-parent.velocity)