Example #1
0
 public void AddStyle(ArchetypeStyle style)
 {
     if (!_customStyles.Contains(style))
     {
         _customStyles.Add(style);
     }
 }
Example #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            ArchetypeStyle o = obj as ArchetypeStyle;

            if (o == null)
            {
                return(false);
            }

            return(o.Name.Equals(Name) && o.Style == Style);
        }
Example #3
0
 public ArchetypeDeck(string name, PlayerClass klass, GameFormat format, ArchetypeStyle style, List <Card> cards)
     : base(klass, format, cards)
 {
     Name  = name;
     Style = style;
 }
Example #4
0
 public void RemoveStyle(ArchetypeStyle style)
 {
     _customStyles.Remove(style);
 }