Exemplo n.º 1
0
 public void CheckCollision(Ball ball)
 {
     if (alive && ball.Bounds.Intersects(location))
     {
         alive = false;
         ball.Deflection(this);
     }
 }
Exemplo n.º 2
0
 public void CheckCollision(Ball ball)
 {
     if (alive && ball.Bounds.Intersects(location))
     {
         alive = false;
         ball.Deflection(this);
     }
 }