Exemple #1
0
        public Main()
            : base()
        {
            instance = this;

            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            graphics.PreferredBackBufferWidth = 1200;
            graphics.PreferredBackBufferHeight = 800;

            this.Window.Title = "Space-Game by fipso (Beta 0.5)";
        }
Exemple #2
0
 static void Main()
 {
     using (var game = new Main())
         game.Run();
 }