예제 #1
0
 public unsafe EvolutionGUI(PartyPokemon pkmn, EvolutionData.EvoData evo)
 {
     _pkmn        = pkmn;
     _evo         = evo;
     _oldNickname = pkmn.Nickname;
     _canCancel   = Evolution.CanCancelEvolution(evo.Method);
     LoadPkmnImage();
     _state          = State.FadeIn;
     _fadeTransition = new FadeFromColorTransition(500, 0);
     Game.Instance.SetCallback(CB_Evolution);
     Game.Instance.SetRCallback(RCB_Evolution);
 }