Ejemplo n.º 1
0
        //Contructor
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            instance = this;

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

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