예제 #1
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
            CancelButton.Draw(spriteBatch);
            spriteBatch.End();

            base.Draw(spriteBatch);
        }
예제 #2
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            base.Draw(spriteBatch);

            AboutInfo.Draw(spriteBatch);

            OpenCodeButton.Draw(spriteBatch);
            CancelButton.Draw(spriteBatch);
        }
예제 #3
0
        public override void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
            CancelButton.Draw(spriteBatch);
            spriteBatch.End();

            if (ReadyUnitsWindow != null)
            {
                ReadyUnitsWindow.Draw(spriteBatch);
            }
            base.Draw(spriteBatch);
        }