Esempio n. 1
0
 public override void LoadContent(ContentManager content)
 {
     backgroundImage.LoadContent(content);
     creditsText.LoadContent(content);
     menuManager.LoadContent(content);
     menuManager.AddMenu(menu);
 }
Esempio n. 2
0
 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";
     }
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 public void LoadContent(ContentManager content)
 {
     tileSprite.LoadContent(content);
     diskSprite.LoadContent(content);
 }
Esempio n. 5
0
 public override void LoadContent(ContentManager content)
 {
     splashImage.LoadContent(content);
 }