Added PlasmaWeapon textures

This commit is contained in:
2025-11-23 19:04:34 +03:00
parent a6185d7ce1
commit 3e5e2dbe0f
15 changed files with 178 additions and 121 deletions
@@ -1 +1,17 @@
extends AbstractWeapon
@export var reloader : GatlingReloader
func _physics_process(delta: float) -> void:
reloader.process(delta)
func shoot(ship_velocity: Vector2) -> bool:
_can_shoot = reloader.can_shoot()
var is_shot := super.shoot(ship_velocity)
if is_shot:
reloader.shoot()
return is_shot