예제 #1
0
 public bool SupportsStacking(IPackingItem other) {
   return ((other.Material < this.Material) || (other.Material.Equals(this.Material) && other.Weight <= this.Weight));
 }
예제 #2
0
 public bool SupportsStacking(IPackingItem other)
 {
     return((other.Material < this.Material) || (other.Material.Equals(this.Material) && other.Weight <= this.Weight));
 }