Example #1
0
 public bool Is(IObject otherStat)
 {
     if (otherStat is UAH)
     {
         return(UAH.Is(otherStat));
     }
     else if (otherStat is USD)
     {
         return(USD.Is(otherStat));
     }
     return(false);
 }
Example #2
0
 public bool NegativeEffect(IObject otherStat)
 {
     if (otherStat is UAH)
     {
         if (UAH.Is(otherStat))
         {
             return(UAH.NegativeEffect(otherStat));
         }
     }
     else if (otherStat is USD)
     {
         if (USD.Is(otherStat))
         {
             return(USD.NegativeEffect(otherStat));
         }
     }
     return(false);
 }