Ejemplo n.º 1
0
 public void enemyCheck(Enemy e)
 {
     if (e.IsAlive())
     {
         MusicManager.PlaySoundEffect(SoundEffects.deathsound2);
         e.death();
     }
     /*switch (type)
     {
         case ItemType.Sword:
             e.death();
             break;
         case ItemType.Shuriken:
             e.death();
             break;
     }*/
 }