just reorganised files thats it

This commit is contained in:
2025-06-24 02:55:20 +10:00
parent 3c5c8f1a44
commit 2bfea6471c
198 changed files with 313 additions and 747 deletions

View File

@@ -1,4 +1,5 @@
class_name Weapon extends Node3D
class_name Weapon
extends Node3D
signal energy_spent(energy: int, type: Data.EnergyType)
signal energy_recharged(energy: int, type: Data.EnergyType)
@@ -54,6 +55,7 @@ func _process(delta: float) -> void:
energy_spent.emit(delta, stats.energy_type)
@warning_ignore("unused_parameter")
func _physics_process(delta: float) -> void:
if trigger_held and current_energy >= energy_cost and time_since_firing >= time_between_shots:
if stats.energy_type == Data.EnergyType.DISCRETE: