Beispiel #1
0
        private string GetEnchantmentsText(Board.Enchantments enchantments)
        {
            string result = "[Enchantments]" + Environment.NewLine;

            foreach (var enchant in enchantments)
            {
                result += "   " + enchant.card_id + " Creator: " + enchant.creator_entity_id.ToString() + Environment.NewLine;
            }
            return(result);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            Enchantments rhs = obj as Enchantments;

            if (rhs == null)
            {
                return(false);
            }
            return(this.SequenceEqual(rhs));
        }