Esempio n. 1
0
        public SpaceGame()
        {
            graphics = new GraphicsDeviceManager(this) {
                PreferredDepthStencilFormat = DepthFormat.Depth24Stencil8
            };

            Content.RootDirectory = "Content";

            Instance = this;
        }
Esempio n. 2
0
 static void Main()
 {
     using (var game = new SpaceGame())
         game.Run();
 }