コード例 #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 UpdateMenu(bool active)
        {
            if (Item_Window_1 != null)
            {
                Item_Window_1.update(false);
            }
            if (Item_Window_2 != null)
            {
                Item_Window_2.update(false);
            }

            base.UpdateMenu(active && this.ready_for_inputs);

            if (Promoting)
            {
                Black_Screen.visible = true;
            }
        }