/// <summary>
        /// Allows the game to run logic such as updating the world,
        /// checking for collisions, gathering input, and playing audio.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        public override void Update(GameTime gameTime)
        {
            if (InProgress)
            {
                cam.Update(gameTime);
                input.Update(gameTime);
                wave.Update(gameTime);
                projectileManager.Update(gameTime);
                process.Update(gameTime);
                cc.Update(gameTime);
                collision.Update(gameTime);
                overlay.Update(gameTime);
            }
            if (InProgress && (cc.IsGameOver || wave.Won))
            {
                if (cc.IsGameOver)
                {
                    WinValue = 2;
                }
                else if (cc.IsGameOver)
                {
                    WinValue = 1;
                }
                InProgress          = false;
                CommandComponent.ID = 0;
                world.Clear();
            }

            /*if(InProgress && (cc.SelectedBuild == null && cc.SelectedUnits.Count > 0) && input.CheckInput(Controls.Deselect))
             * {
             *  Clean();
             *  InProgress = false;
             * }*/
            // TODO: Add your update logic here

            base.Update(gameTime);
        }