Ejemplo n.º 1
0
 public void changePlayer(int player)
 {
     if (player == 1)
     {
         activePlayer = 1;
         player1.Active();
         player2.Desactive();
     }
     if (player == 2)
     {
         activePlayer = 2;
         player1.Desactive();
         player2.Active();
     }
 }