Esempio n. 1
0
 public StartScreen(Game1 game)
 {
     this.game = game;
     // Laad start scherm plaatje
     texture = game.Content.Load<Texture2D>("Pictures/TitleScreen");
     this.song = game.Content.Load<Song>("Audio/AlpacaThemeSong");
     // Repeat de muziek
     MediaPlayer.IsRepeating = true;
     // Plays de muziek
     MediaPlayer.Play(this.song);
 }
Esempio n. 2
0
 public StartScreen(Game1 game)
 {
     this.game = game;
     // Laad start scherm plaatje
     texture = game.Content.Load<Texture2D>("Pictures/TitleScreen");
 }