示例#1
0
 public bool CanBeMergedWith(IOperation other)
 {
     return(other is Perturb && other.GetAreaOfEffectMax() == this.GetAreaOfEffectMax() &&
            other.GetAreaOfEffectMin() == this.GetAreaOfEffectMin() &&
            UMath.Approximately(((Perturb)other).weight, weight));
 }