aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Autoload/Events.gd
blob: da12bf6742c88f486ae23b3f4bf630ab3fae9dc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
## Events are exclusively for the purpose of handling global signals
## This is to reduce "signal bubbling" which is when a signal callback is used to "bubble" the signal callbacks up the scene tree.
## It does such by providing a global interface of signals that are connected to and emitted by that are garunteed to exist.
extends Node

var Loader: LoaderEventsObject
var Options: OptionsEventsObject

func _init():
   Loader = LoaderEventsObject.new()
   Options = OptionsEventsObject.new()