コード例 #1
0
 protected override void DrawStatsWindow(SpriteBatch spriteBatch)
 {
     //Item Windows
     if (!Using)
     {
         if (Item_Window_1 != null)
         {
             Item_Window_1.draw(spriteBatch);
         }
         if (Item_Window_2 != null)
         {
             Item_Window_2.draw(spriteBatch);
         }
     }
 }
コード例 #2
0
        protected override void draw_window(SpriteBatch sprite_batch)
        {
            sprite_batch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend);
            draw_info(sprite_batch);
            sprite_batch.End();

            // Unit Window
            Unit_Window.draw(sprite_batch);

            //Item Windows
            Item_Window.draw(sprite_batch);

            // Headers
            Item_Header.draw(sprite_batch);
        }