Пример #1
0
 public static void Draw(SpriteBatch spriteBatch, SpriteFont font)
 {
     dummy.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.Augusta));
     foreach (GUI_Element e in elements)
     {
         if (e.ElementTyp == Vars_Func.GUI_ElementTyp.BackgroundHUD)
         {
             //draw the button
             if (startButton.SpriteColor.A > 0)
             {
                 startButton.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2));
             }
             if (burnedLogo.SpriteColor.A > 0)
             {
                 burnedLogo.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.Augusta));
             }
             // draw the fire logo
             if (fireLogo.SpriteColor.A > 0)
             {
                 fireLogo.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.Augusta));
             }
         }
         e.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.Augusta));
     }
 }
Пример #2
0
 public static void Draw(SpriteBatch spriteBatch, SpriteFont font)
 {
     if (!dontDraw && updateReady)
     {
         background.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2));
         headLine.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaText));
         foreach (GUI_Element b in buttons)
         {
             b.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaText));
         }
     }
 }
Пример #3
0
 public static void Draw(SpriteBatch spriteBatch, SpriteFont font)
 {
     if (!dontDraw && updateReady)
     {
         background.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2));
         underLine.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaSmall));
         foreach (GUI_Element b in buttons)
         {
             b.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaText));
         }
         input.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2), new Vector2(1366 / 2 - 100, 450 - 96 / 2 - 20));
     }
 }
Пример #4
0
 public static void Draw(SpriteBatch spriteBatch, SpriteFont font)
 {
     if (!dontDraw && updateReady)
     {
         dummy.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2));
         foreach (GUI_Element e in elements)
         {
             e.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaTextField));
         }
         foreach (GUI_Element f in frames)
         {
             f.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaTextField));
         }
         returnButton.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaText));
         book.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaText));
         headLine.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaHeadline));
         backgroundFrame.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2));
     }
 }
Пример #5
0
 public static void Draw(SpriteBatch spriteBatch, SpriteFont font)
 {
     if (!dontDraw && updateReady)
     {
         foreach (GUI_Element e in elements)
         {
             e.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaTextField));
         }
         background.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaBold2));
         foreach (GUI_Element f in frames)
         {
             f.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaTextField));
         }
         foreach (GUI_Element b in buttons)
         {
             b.Draw(spriteBatch, Vars_Func.getGUI_Font(Vars_Func.GUI_Font.AugustaTextField));
         }
     }
 }