/// <inheritdoc/> protected override void LoadContent() { this.spriteBatch = new SpriteBatch(GraphicsDevice); SpriteLoader.Initialize(this.Content); MediaPlayer.IsRepeating = true; this.SceneManager.SwitchScene(this.SceneManager.Menu); }
/// <inheritdoc/> protected override void Initialize() { SpriteLoader.Initialize(this.Content); this.InitializeSql(); // window size this.graphics.PreferredBackBufferWidth = WindowWidth; this.graphics.PreferredBackBufferHeight = WindowHeight; this.graphics.GraphicsProfile = GraphicsProfile.Reach; this.graphics.IsFullScreen = false; this.graphics.ApplyChanges(); this.SceneManager = new SceneManager(this); base.Initialize(); }