示例#1
0
文件: App.cs 项目: qumeta/DeltaEngine
 public static void Start <First, Second, Third>(Action <First, Second, Third> initCode,
                                                 Action runCode = null)
 {
     using (var resolver = new XnaResolver().Init(initCode))
         resolver.Run(runCode);
 }
示例#2
0
 protected void Run()
 {
     resolver.Run();
     resolver.Dispose();
 }
示例#3
0
文件: App.cs 项目: qumeta/DeltaEngine
 public static void Start <AppEntryRunner>()
     where AppEntryRunner : Runner
 {
     using (var resolver = new XnaResolver().Init <AppEntryRunner>())
         resolver.Run();
 }