Updated event_bus to have shield change single; attempted to update

player's set shield but running into problems at runtime.
This commit is contained in:
Henry 2025-12-15 10:20:23 +00:00
parent d64504189a
commit 1ebba28e5d
7 changed files with 18 additions and 12 deletions

7
event_bus.gd Normal file
View file

@ -0,0 +1,7 @@
extends Node
@warning_ignore_start("unused_signal") # since otherwise Godot will throw a warning that the signal is unused in current scope
signal shield_changed(max_value: int, old_value: int, new_value: int)
@warning_ignore_restore("unused_signal") # put any future signals you add between the two ignore annotations