Beispiel #1
0
        public static void DamageCard(int sId, int value)
        {
            Card target = MasterList.Find(x => x.ServerId == sId);

            if (target == null)
            {
                throw new CardNotFoundException();
            }

            target.Damage(value);
        }