refactor: enhance GameStateStore integration and improve skill management
This commit is contained in:
@@ -140,6 +140,15 @@ public partial class EventBus : Node
|
||||
|
||||
#endregion
|
||||
|
||||
#region Achievement Events
|
||||
|
||||
[Signal] public delegate void AchievementUnlockedEventHandler(string achievementId);
|
||||
|
||||
public static void EmitAchievementUnlocked(string achievementId)
|
||||
=> Instance?.EmitSignal(SignalName.AchievementUnlocked, achievementId);
|
||||
|
||||
#endregion
|
||||
|
||||
#region State Change Events
|
||||
|
||||
[Signal] public delegate void CoinsChangedEventHandler(int totalCoins);
|
||||
|
||||
Reference in New Issue
Block a user