コード例 #1
0
        private static void setupGame(IGame game)
        {
            game.Factory.Resources.ResourcePacks.Add(new ResourcePack(new FileSystemResourcePack(AGSGame.Device.FileSystem), 0));
            game.State.RoomTransitions.Transition = AGSRoomTransitions.Instant();

            AMG.Rooms.PrecreateAll(game);
        }
コード例 #2
0
        private static void setupGame(IGame game)
        {
            game.Factory.Resources.ResourcePacks.Add(new ResourcePack(new FileSystemResourcePack(AGSGame.Device.FileSystem), 0));
            game.State.RoomTransitions.Transition = AGSRoomTransitions.Instant();

            loadFonts(game);
            preloadUI(game);
            LF.Rooms.PrecreateAll(game);
            LF.Menu = new GameMenu(game);
            GameStateManager.Init(game);
        }