Package javaEffect.characters

Examples of javaEffect.characters.Human


     *
     * System.out.println("\tLast name:" ); String lastName=input.next();
     */

    if (race.equalsIgnoreCase("Human")) {
      this.player = new Human(firstName, lastName, 100);
    } else if (race.equalsIgnoreCase("Asari")) {
      this.player = new Asari(firstName, lastName, 100);
    } else if (race.equalsIgnoreCase("Krogan")) {
      this.player = new Krogan(firstName, lastName, 100);
    }
View Full Code Here


      if (!Character.isInList(character.getAttributeValue("firstName"),
          character.getAttributeValue("lastName"))) {

        if (character.getAttributeValue("race").equalsIgnoreCase(
            "Human")) {
          npg = new Human(character.getAttributeValue("firstName"),
              character.getAttributeValue("lastName"));
        } else if (character.getAttributeValue("race")
            .equalsIgnoreCase("Asari")) {
          npg = new Asari(character.getAttributeValue("firstName"),
              character.getAttributeValue("lastName"));
View Full Code Here

TOP

Related Classes of javaEffect.characters.Human

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.