Beispiel #1
0
 public override int GetHashCode()
 {
     return(397
            ^ NeedType.GetHashCode()
            ^ Urgency.GetHashCode()
            ^ ChangePerSecond.GetHashCode());
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(397
            ^ ConsumableType.GetHashCode()
            ^ Amount.GetHashCode()
            ^ SatisfiesNeed.GetHashCode()
            ^ NeedReduction.GetHashCode());
 }
Beispiel #3
0
 public override int GetHashCode()
 {
     return(item.GetHashCode() + need.GetHashCode());
 }