コード例 #1
0
 /// <summary>
 /// Creates new game
 /// </summary>
 public RPG()
 {
     GraphicsManager       = graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     ContentManager        = Content;
     CurrentGame           = this;
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: sean-dooher/Rehood-Naes
 internal static void RunGame()
 {
     game = new RPG();
     game.Run();
                 #if !__IOS__ && !__TVOS__
     game.Dispose();
                 #endif
 }