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