AIA.Game1.Draw C# (CSharp) Method

Draw() protected method

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void
        protected override void Draw( GameTime gameTime )
        {
            GraphicsDevice.Clear ( Color.CornflowerBlue );

            spriteBatch.Begin( );
            _selection.DrawSelectionBox(spriteBatch, _selection.Texture);

            //Draws all buildings to screen
            _BuildingManager.DrawBuildings(spriteBatch);
            _unitOne.Draw ( spriteBatch );

            _Emitter.Draw ( spriteBatch );

            spriteBatch.End( );

            // TODO: Add your drawing code here

            base.Draw ( gameTime );
        }