public void Update(GameTime gameTime)
        {
            TurretPickerFrame.FrameSize = new Vector2(1280, 720) / ParentShip.sceneView.Size;
            TurretPickerFrame.Update(gameTime);
            TurretPickerFrame.SetRestrictedView(ParentShip.sceneView.Index);

            MenuFrame.FrameSize = new Vector2(1280, 720) / ParentShip.sceneView.Size;
            MenuFrame.Update(gameTime);
            MenuFrame.SetRestrictedView(ParentShip.sceneView.Index);

            foreach (HudBox b in HudBoxes)
            {
                b.Update(gameTime);
            }

            foreach (UIParticleBasic part in Particles)
            {
                part.Update(gameTime);
            }

            if (ParticleToRemove != null)
            {
                Particles.Remove(ParticleToRemove);
                ParticleToRemove = null;
            }
        }
 public void RemoveParticle(UIParticleBasic part)
 {
     ParticleToRemove = part;
 }
 public void AddParticle(UIParticleBasic part)
 {
     Particles.AddLast(part);
     part.Create(this, ParentShip);
 }