pokemon_select.c 411 B

123456789
  1. #include "../pokemon_app.h"
  2. void select_pokemon_scene_on_enter(void* context) {
  3. PokemonFap* pokemon_fap = (PokemonFap*)context;
  4. // switch to select pokemon scene
  5. // Note for the future, this might make sense to setup and teardown each view
  6. // at runtime rather than at the start of the whole application
  7. view_dispatcher_switch_to_view(pokemon_fap->view_dispatcher, AppViewSelectPokemon);
  8. }