add some signals to the event bus

This commit is contained in:
2022-11-10 00:10:05 -03:00
parent b63cd81c2f
commit d5a6585999
2 changed files with 15 additions and 20 deletions

15
scripts/Event.cs Normal file
View File

@@ -0,0 +1,15 @@
using Godot;
public sealed class Event : Node
{
[Signal]
delegate void EnergyCollected(int energy);
[Signal]
delegate void BoltCollected(int bolt);
[Signal]
delegate void InvincibilityCollected();
[Signal]
delegate void FireCollected();
[Signal]
delegate void PlayerTouched();
}