public override void LoadContent(ContentManager content) { backgroundImage.LoadContent(content); creditsText.LoadContent(content); menuManager.LoadContent(content); menuManager.AddMenu(menu); }
public override void LoadContent(ContentManager content) { backgroundImage.LoadContent(content); creditsText.LoadContent(content); highscoresText.LoadContent(content); foreach (Score score in scoreManager.Scores) { highscoresText.Text += $"{scoreManager.Scores.IndexOf(score) + 1}: {score.Name}- {score.Value}\n"; } }
public override void LoadContent(ContentManager content) { tileManager = new TileManager(new Vector2(90), new Vector2(667), singleplayer, content); tileManager.LoadContent(content); tileManager.OnGameEnded += TileManager_OnGameEnded; scoreManager = ScoreManager.Load(); scoreText.LoadContent(content); foreach (Text2D text in afterGameTexts) { text.LoadContent(content); } backgroundImage.LoadContent(content); gaussianBlur = new GaussianBlur(graphicsDevice, content, 5); }
public void LoadContent(ContentManager content) { tileSprite.LoadContent(content); diskSprite.LoadContent(content); }
public override void LoadContent(ContentManager content) { splashImage.LoadContent(content); }