Пример #1
0
 public MainGame()
 {
     Instance = this;
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
 }
Пример #2
0
 static void Main()
 {
     using (var game = new MainGame())
         game.Run();
 }