Esempio n. 1
0
 public override void Boom()
 {
     BoomEffectObject.EnemyBoom1 boom = new BoomEffectObject.EnemyBoom1(EnemySprite.Position);
     GameManager.GetInstance().AddBoomEffect(boom);
 }
Esempio n. 2
0
 public override void Boom()
 {
     SoundManager.Getinstance().PlaySoundEffect("pigDeath");
     BoomEffectObject.EnemyBoom1 boom = new BoomEffectObject.EnemyBoom1(EnemySprite.Position);
     GameManager.GetInstance().AddBoomEffect(boom);
 }