public static IGame Create(Resolver resolver) { UIThreadID = Environment.CurrentManagedThreadId; printInfo(); resolver.Build(); AGSGame game = resolver.Container.Resolve <AGSGame>(); game._resolver = resolver; Game = game; return(game); }
public static IGame CreateEmpty() { UIThreadID = Environment.CurrentManagedThreadId; printRuntime(); Resolver resolver = new Resolver(Device); resolver.Build(); AGSGame game = resolver.Container.Resolve <AGSGame>(); game._resolver = resolver; Game = game; return(game); }