예제 #1
0
 public void Dead()
 {
     DeadSound.Play();
     Explosion.Spawn(Position, Radius * 0.25f);
     Active                     = false;
     Flame.Active               = false;
     BaseRadar.Active           = false;
     Services.Camera.Position.X = 0;
     Services.Camera.Position.Y = 0;
 }
예제 #2
0
 public void HitTarget()
 {
     HitSound.Play();
     Explosion.Spawn(Position, Radius * 0.25f);
     Active = false;
 }