Exemple #1
0
 // This has no collision
 public static OperatorCollision Multiply(OperatorCollision c1, OperatorCollision c2)
 {
     return(new OperatorCollision(c1.Value * c2.Value));
 }
Exemple #2
0
 public static OperatorCollision Add(OperatorCollision c1, OperatorCollision c2)
 {
     return(new OperatorCollision(c1.Value + c2.Value));
 }