Package Character.Races.RInstances

Examples of Character.Races.RInstances.Elf


        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:
View Full Code Here

TOP

Related Classes of Character.Races.RInstances.Elf

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.