Exemplo n.º 1
0
 public bool IsCatching(Frog frog)
 {
     return(frog.BoundingBox.Intersects(BoundingBox));
 }
Exemplo n.º 2
0
 public bool IsTouchingFrog(Frog frog)
 {
     return(frog.BoundingBox.Bottom > magmaPosition.Y);
 }