예제 #1
0
        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);
        }
예제 #2
0
        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);
        }