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 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; }