コード例 #1
0
ファイル: MainGame.cs プロジェクト: occnah/SnakeXNA
 public MainGame()
 {
     Instance = this;
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
 }
コード例 #2
0
 static void Main()
 {
     using (var game = new MainGame())
         game.Run();
 }