161162163164165166167168169170171172173174175176177178179180181182183184185186187188
teamJ2 = 3; // Creation de la partie en fonction des choix des equipes Race race1 = null, race2 = null; switch (teamJ1) { case 0: race1 = new Elf(); break; case 1: race1 = new Human(); break; case 2: race1 = new Undead(); break; case 3: race1 = new Orc(); break; default: System.err.println("Error choosing race from Player 1"); System.exit(1); } switch (teamJ2) { case 0: race2 = new Elf(); break; case 1: race2 = new Human(); break; case 2: