Example #1
0
        //Contructor
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            instance = this;

            //Unlocks framerate
            this.graphics.SynchronizeWithVerticalRetrace = false;
            base.IsFixedTimeStep = false;

            Content.RootDirectory = "Content";
        }
Example #2
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }