public ParasiteOrb SummonOrb()
        {
            AudioManager.PlaySoundEffect(GameScene.PhaseInSound, .8f, 0f);
            ParasiteOrb orb = new ParasiteOrb(thisScene, Center);

            orb.SetTexture(boss4OrbTexture);
            orbs.Add(orb);
            orb.Rotation = VectorMathHelper.GetRandom();
            orb.Velocity = 55f;
            orb.Color    = Color.Transparent;
            orb.LerpColor(Color.White, .5f);
            orb.SetParent(this);
            orb.SetHealth(thisPhaseOrbHealth);

            return(orb);
        }
 public void TakeDamage(float damage, ParasiteOrb explodedOrb)
 {
     Health -= damage;
     orbs.Remove(explodedOrb);
 }
Exemplo n.º 3
0
 public void TakeDamage(float damage, ParasiteOrb explodedOrb)
 {
     Health -= damage;
     orbs.Remove(explodedOrb);
 }
Exemplo n.º 4
0
        public ParasiteOrb SummonOrb()
        {
            AudioManager.PlaySoundEffect(GameScene.PhaseInSound, .8f, 0f);
            ParasiteOrb orb = new ParasiteOrb(thisScene, Center);
            orb.SetTexture(boss4OrbTexture);
            orbs.Add(orb);
            orb.Rotation = VectorMathHelper.GetRandom();
            orb.Velocity = 55f;
            orb.Color = Color.Transparent;
            orb.LerpColor(Color.White, .5f);
            orb.SetParent(this);
            orb.SetHealth(thisPhaseOrbHealth);

            return orb;
        }