Пример #1
0
 public Union(Hitable o1, Hitable o2)
 {
     O1 = o1;
     O2 = o2;
 }
Пример #2
0
 public void AddSubstraction(Hitable hitable) => Substraction.Add(hitable);
Пример #3
0
 public Intersect(Hitable o1, Hitable o2)
 {
     O1 = o1;
     O2 = o2;
 }
Пример #4
0
 public Substract(Hitable minuend, params Hitable[] substraction)
 {
     Minuend      = minuend;
     Substraction = substraction.ToList();
 }
Пример #5
0
 public void Add(Hitable item) => List.Add(item);