Пример #1
0
 public Card.RowEffect GetRowEffectByRowStatus(RowStatus status)
 {
     Card.RowEffect res = null;
     if (_dictionary.TryGetValue(status, out res))
     {
         return((Card.RowEffect)res.Clone());
     }
     return(new NoneStatus());
 }
Пример #2
0
 private void Add(Card.RowEffect rowEffect)
 {
     _dictionary[rowEffect.StatusType] = rowEffect;
 }