public Action(ThreadStart innerAction, RobotEventType eventType = RobotEventType.None, IEventData eventData = null, bool persistent = false) { InnerAction = innerAction; EventType = eventType; EventData = eventData; Persistent = persistent; }
public void TriggerEvent(RobotEventType eventType, IEventData eventData) { OnEventTriggered?.Invoke(eventType, eventData); }