public override void Update(GameTime gameTime)
        {
            float t = (float)gameTime.ElapsedGameTime.TotalSeconds;

            SetAccelerations(t);
            if (linearThrust != 0)
            {
                AddSmoke(t);
            }
            PickupItems();
            base.Update(gameTime);
            if (lockOnSprite != null &&
                (lockOnSprite.position - position).Length() >= lockOnRange
                ||
                (!LimitsEdgeGame.worldStateManager.crateManager.crates.Contains(lockOnSprite) &&
                 !LimitsEdgeGame.worldStateManager.asteroidManager.asteroids.Contains(lockOnSprite)))
            {
                lockOnSprite = null;
            }
        }
 public void RemoveLockOnSprite()
 {
     lockOnSprite = null;
 }
 public void SetLockOnSprite(MovingSprite sprite)
 {
     lockOnSprite = sprite;
 }