public void Capture(Boid b)
        {
            Score++;

            Screen.particles.CreatePlayerFireSmoke(Screen.world.Project(b.Position));
            //screen.particles.CreateAlienExplosion(screen.world.Project(b.Position));

            captureSound.Play();
            captureGlow.SetMode(Controller.Mode.RING);
        }
Beispiel #2
0
 public Vector3 steerToEvade(Boid e)
 {
     // steering to flee from enemy's future position
     return steerForFlee(e.predictFuturePosition(1));
 }
 public GhostEffect(GameplayScreen screen, Boid boid)
     : base(screen)
 {
     this.boid = boid;
 }