add event bus singleton
This commit is contained in:
parent
0ac147c3c7
commit
c8223643b8
3 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ config/icon="uid://4aq8ekc6sruc"
|
||||||
[autoload]
|
[autoload]
|
||||||
|
|
||||||
GameDirector="*res://scenes/autoload/game_director.gd"
|
GameDirector="*res://scenes/autoload/game_director.gd"
|
||||||
|
EventBus="*res://scenes/autoload/event_bus.gd"
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
|
|
||||||
|
|
|
||||||
5
scenes/autoload/event_bus.gd
Normal file
5
scenes/autoload/event_bus.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
extends Node
|
||||||
|
|
||||||
|
|
||||||
|
@warning_ignore("unused_signal")
|
||||||
|
signal room_changed(previous_room: StringName, next_room: StringName, waypoint: Waypoint)
|
||||||
1
scenes/autoload/event_bus.gd.uid
Normal file
1
scenes/autoload/event_bus.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://bmfdu1fyum1nf
|
||||||
Loading…
Add table
Reference in a new issue