/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Engine game = new Engine())
     {
         game.Run();
     }
 }
Example #2
0
        public Engine()
        {
            graphics = new GraphicsDeviceManager(this);
            music = new MusicManager ();
            IsFixedTimeStep = false;

            Content.RootDirectory = "Content";

            Engine.ContentLoader = this.Content;
            Engine.EngineRef = this;
            Engine.Graphics = this.graphics;
            Engine.MusicRef = this.music;
        }