Пример #1
0
 public override bool CollideWith(Fly other)
 {
     return(SplashKit.CirclesIntersect(DoubleBulletCircleLeft, other.FlyCircle) || SplashKit.CirclesIntersect(DoubleBulletCircleRight, other.FlyCircle));
 }
Пример #2
0
 public bool CollidedWith(Fly other)
 {
     return(SplashKit.CirclesIntersect(PlayerCircle, other.FlyCircle));
 }
Пример #3
0
 public override bool CollideWith(Fly other)
 {
     return(SplashKit.CirclesIntersect(SingleBulletCircle, other.FlyCircle));
 }
Пример #4
0
 public bool CollidedWithPlayer(OtherPlayer op)
 {
     return(SplashKit.CirclesIntersect(c, op.CollisionCircle));
 }
Пример #5
0
 public bool CollidedWithRandomDots(RandomDots randomDots)
 {
     return(SplashKit.CirclesIntersect(c, randomDots.CollisionCircle));
 }
Пример #6
0
 public bool CollidedWith(Robot robot)
 {
     return(SplashKit.CirclesIntersect(CollisionCircle, robot.CollisionCircle));
 }
Пример #7
0
 public bool CollidedWith(SuperUFO target)
 {
     return(SplashKit.CirclesIntersect(CollisionCircle, target.CollisionCirle));
 }