Add button interaction system with event publishing and requirements handling

This commit is contained in:
2025-10-30 02:21:33 +01:00
parent 86afb57809
commit 3fcb31d92f
11 changed files with 240 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
using GameCore.ECS.Interfaces;
using GameCore.Logic.Interfaces;
namespace GameCore.Logic;
public class LogicSequenceComponent : IComponent
{
public List<string> RequiredChannels { get; set; } = [];
public HashSet<string> ActivatedChannels { get; set; } = [];
public List<ITriggerAction> OnCompleteActions { get; set; } = [];
public bool IsOneTimeTrigger { get; set; } = false;
public bool HasTriggered { get; set; } = false;
}