public void QueueEvent(QueueEffectEventArgs ea, IObsManager obsManager, IDungeonMasterApp iDungeonMasterApp)
        {
            CardEvent cardEvent = CardEvent.Create(ea.CardEventName, ea.CardUserName, ea.Args, iDungeonMasterApp);

            if (cardEvent == null)
            {
                System.Diagnostics.Debugger.Break();
                return;
            }

            QueueCardEvents.Enqueue(cardEvent);
        }
        public static void QueueCardEvent(QueueEffectEventArgs ea, IObsManager obsManager, IDungeonMasterApp iDungeonMasterApp)
        {
            CardEventQueue queue = allCardEventQueues.FirstOrDefault(x => x.Name == ea.CardEventName);

            if (queue == null)
            {
                allCardEventQueues.Add(new CardEventQueue(ea, obsManager, iDungeonMasterApp));
            }
            else
            {
                queue.QueueEvent(ea, obsManager, iDungeonMasterApp);
            }
        }
 public CardEventQueue(QueueEffectEventArgs ea, IObsManager obsManager, IDungeonMasterApp iDungeonMasterApp)
 {
     Name = ea.CardEventName;
     QueueEvent(ea, obsManager, iDungeonMasterApp);
 }