Added reloaders

This commit is contained in:
2025-10-24 00:49:24 +03:00
parent f8d0edc5f7
commit 29d0cf59af
8 changed files with 167 additions and 30 deletions
+5
View File
@@ -72,3 +72,8 @@ func _get_new_speed(accel: float, decel: float, current_speed: float) -> float:
func shoot(weapon: Node) -> void:
if weapon in weapons:
weapon.shoot()
func reload(weapon: Node) -> void:
if weapon in weapons:
weapon.reload()