Exemple #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);
        }
Exemple #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);
        }