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