1 using Microsoft.Xna.Framework;
2 using Microsoft.Xna.Framework.Graphics;
4 using System.Collections.Generic;
10 private Sprite backgroundSprite;
22 roundSummary = roundSummary,
23 backgroundSprite = backgroundSprite,
25 loadText = TextManager.Get(
"campaignstartingpleasewait")
28 summaryScreen.Select();
29 summaryScreen.AddToGUIUpdateList();
38 public override void Draw(
double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
42 if (backgroundSprite !=
null)
48 GUI.Draw(
Cam, spriteBatch);
50 LocalizedString loadingText = loadText +
new string(
'.', (
int)Timing.TotalTime % 3 + 1);
51 Vector2 textSize = GUIStyle.LargeFont.MeasureString(loadText);
57 public override void Update(
double deltaTime)
59 base.Update(deltaTime);
64 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Capture(temp).Throw();
RectTransform RectTransform
static RasterizerState ScissorTestEnable
static int GraphicsHeight
override void Draw(double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
static RoundSummaryScreen Select(Sprite backgroundSprite, RoundSummary roundSummary)
override void Update(double deltaTime)
void Draw(ISpriteBatch spriteBatch, Vector2 pos, float rotate=0.0f, float scale=1.0f, SpriteEffects spriteEffect=SpriteEffects.None)