this.listPlayer[3].setName("newPlayer");
}
public void resetTeam()
{
this.listPlayer= new player[] { new player(),new player(),new player(), new player() };
this.listPlayer[0].setName("newPlayer");
this.listPlayer[1].setName("newPlayer");
this.listPlayer[2].setName("newPlayer");
this.listPlayer[3].setName("newPlayer");
}