Esempio n. 1
0
        private void LoadMoves()
        {
            var moves = ResourcesUtil.GetResource <Dictionary <int, MoveData> >("Moves.json");

            Moves = moves.Values.ToArray();

            LoadMoveNames();
        }
Esempio n. 2
0
 private ItemsDatabase()
 {
     _items = ResourcesUtil.GetResource <Dictionary <int, ItemInfo> >("Items.json");
 }
Esempio n. 3
0
 private AbilitiesManager()
 {
     Abilities = ResourcesUtil.GetResource <Dictionary <int, AbilityData> >("Abilities.json");
 }
Esempio n. 4
0
 private Pokedex()
 {
     Entries = ResourcesUtil.GetResource <PokedexEntry[]>("PokemonData.json");
 }