Пример #1
0
 public bool IsCatching(Frog frog)
 {
     return(frog.BoundingBox.Intersects(BoundingBox));
 }
Пример #2
0
 public bool IsTouchingFrog(Frog frog)
 {
     return(frog.BoundingBox.Bottom > magmaPosition.Y);
 }