State machine rework

This commit is contained in:
Rendo 2025-12-09 22:34:17 +05:00
commit 87919ed890
25 changed files with 102 additions and 76 deletions

View file

@ -64,11 +64,11 @@ func _ready() -> void:
ammo_depleted.connect(system.check_for_empty)
ammo_updated.connect(system.on_ammo_updated)
func enter() -> void:
func _enter() -> void:
super()
player.weapon_models[visibility_target].show()
func exit() -> void:
func _exit() -> void:
super()
player.weapon_models[visibility_target].hide()