コード例 #1
0
ファイル: SpaceGame.cs プロジェクト: FingerInSky/SpaceCrush
        public SpaceGame()
        {
            graphics = new GraphicsDeviceManager(this) {
                PreferredDepthStencilFormat = DepthFormat.Depth24Stencil8
            };

            Content.RootDirectory = "Content";

            Instance = this;
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: FingerInSky/SpaceCrush
 static void Main()
 {
     using (var game = new SpaceGame())
         game.Run();
 }