Exemple #1
0
        public List <Action> GetCardActions(Card card)
        {
            List <Action> list;
            var           cardName = new CardName();

            cardName.AssignShallowFrom(card);
            return(_dictActions.TryGetValue(cardName, out list) ? list : new List <Action>());
        }