SupaLidlGame/Events/EventBus.cs

42 lines
996 B
C#
Raw Normal View History

2023-08-01 23:49:48 -07:00
using Godot;
namespace SupaLidlGame.Events;
public partial class EventBus : Node
{
[Signal]
public delegate void RequestMoveToAreaEventHandler(RequestAreaArgs args);
2023-08-13 16:49:18 -07:00
2023-08-13 20:11:40 -07:00
[Signal]
public delegate void AreaChangedEventHandler(Scenes.Map map);
2023-08-13 16:49:18 -07:00
[Signal]
public delegate void PlayerDeathEventHandler(HurtArgs args);
[Signal]
public delegate void PlayerHurtEventHandler(HurtArgs args);
[Signal]
public delegate void PlayerHealthChangedEventHandler(HealthChangedArgs args);
[Signal]
public delegate void RegisteredBossEventHandler(Characters.Boss boss);
[Signal]
public delegate void DeregisteredBossEventHandler(Characters.Boss boss);
2023-08-17 00:13:24 -07:00
[Signal]
public delegate void EnterTransitionEventHandler();
[Signal]
public delegate void TransitionFinishedEventHandler();
[Signal]
public delegate void ExitTransitionEventHandler();
public override void _Ready()
{
ProcessMode = ProcessModeEnum.Always;
}
2023-08-01 23:49:48 -07:00
}