AIA.Game1.Draw C# (CSharp) 메소드

Draw() 보호된 메소드

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.
리턴 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 );
        }