Example #1
0
        public Game1()
            : base()
        {
            _graphics = new GraphicsDeviceManager(this);
            _manager = SceneManager.GetInstance(this);
            Content.RootDirectory = "Content";
            //_graphics.PreferredBackBufferWidth = 700;
            _graphics.IsFullScreen = true;

            _pauseOn = false;
            //_graphics.IsFullScreen = true;
        }
 //Singelton
 public static SceneManager GetInstance(Microsoft.Xna.Framework.Game game)
 {
     if (_manager == null)
         _manager = new SceneManager(game);
     return _manager;
 }