예제 #1
0
 public void GenerarGridData(bool amigo)
 {
     if (amigo == true)
     {
         GlobalGrid.progressBarFriendXp.Progress = GlobalVar.friendCoach.user.pokemons[GlobalVar.pokAmigo].experience / GlobalLogic.experienciaMaxima(amigo);
     }
     else
     {
         GlobalGrid.progressBarEnemyXp.Progress = GlobalVar.enemyCoach.user.pokemons[GlobalVar.pokEnemigo].experience / GlobalLogic.experienciaMaxima(amigo);
     }
 }