コード例 #1
0
ファイル: AGSGame.cs プロジェクト: tzachshabtay/MonoAGS
        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);
        }