Пример #1
0
        private BoardState LoadUpdatedBoardState()
        {
            CardLoader.ResetIds();
            var chips    = ChipLoader.LoadChips(Rarity.None);
            var spaces   = SpaceLoader.LoadSpaces();
            var trainers = TrainerLoader.LoadTrainers();
            var items    = CardLoader.LoadItems();
            var events   = CardLoader.LoadEvents();
            var elites   = EliteLoader.LoadElites();

            var boardStateData = LoadBoardState();
            var catchSpaceData = LoadCatchSpaces();
            var chipData       = LoadChips();
            var playerData     = LoadPlayers();
            var spaceData      = LoadSpaces();
            var trainerData    = LoadTrainers();

            UpdateTrainers(trainers, trainerData);
            UpdateChips(chips, chipData);
            UpdateSpaces(spaces, spaceData, catchSpaceData, chips);

            var players = CreatePlayers(playerData, trainers, chips, items, spaces.Item1);

            return(CreateBoardState(boardStateData, chips, items, events, players, spaces, elites));
        }
Пример #2
0
 public static Trainer LoadMisty()
 {
     return(TrainerLoader.LoadMisty());
 }
Пример #3
0
 public static Trainer LoadAsh()
 {
     return(TrainerLoader.LoadAsh());
 }
Пример #4
0
 public static Trainer LoadBrock()
 {
     return(TrainerLoader.LoadBrock());
 }