예제 #1
0
 public void AddStyle(ArchetypeStyle style)
 {
     if (!_customStyles.Contains(style))
     {
         _customStyles.Add(style);
     }
 }
예제 #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);
        }
예제 #3
0
 public ArchetypeDeck(string name, PlayerClass klass, GameFormat format, ArchetypeStyle style, List <Card> cards)
     : base(klass, format, cards)
 {
     Name  = name;
     Style = style;
 }
예제 #4
0
 public void RemoveStyle(ArchetypeStyle style)
 {
     _customStyles.Remove(style);
 }