facsimile-wing/scripts/event_bus.gd

10 lines
424 B
GDScript

extends Node
@warning_ignore_start("unused_signal") # since otherwise Godot will throw a warning that the signal is unused in current scope
signal weapon_changed(weapon_name: String, player_node: Node2D, player_sprite_size: Vector2, origin_offset: float)
# Emitted when a powerup is collected by the player.
signal powerup_collected(weapon_shot: WeaponShot, player_node: Node2D)
@warning_ignore_restore("unused_signal")