Add button interaction system with event publishing and requirements handling
This commit is contained in:
9
GameCore/Events/ButtonPressedEvent.cs
Normal file
9
GameCore/Events/ButtonPressedEvent.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using GameCore.Events.Interfaces;
|
||||
|
||||
namespace GameCore.Events;
|
||||
|
||||
public readonly struct ButtonPressedEvent(string channelId, bool newState) : IEvent
|
||||
{
|
||||
public readonly string ChannelId = channelId;
|
||||
public readonly bool NewState = newState;
|
||||
}
|
||||
Reference in New Issue
Block a user