diff --git a/1410_DND/bin/dnd/Character.class b/1410_DND/bin/dnd/Character.class new file mode 100644 index 0000000..3d052cd Binary files /dev/null and b/1410_DND/bin/dnd/Character.class differ diff --git a/1410_DND/bin/dnd/Race.class b/1410_DND/bin/dnd/Race.class new file mode 100644 index 0000000..75741cd Binary files /dev/null and b/1410_DND/bin/dnd/Race.class differ diff --git a/1410_DND/bin/dnd/dndTestClient.class b/1410_DND/bin/dnd/dndTestClient.class new file mode 100644 index 0000000..fc57f3f Binary files /dev/null and b/1410_DND/bin/dnd/dndTestClient.class differ diff --git a/1410_DND/src/dnd/Character.java b/1410_DND/src/dnd/Character.java new file mode 100644 index 0000000..50db29d --- /dev/null +++ b/1410_DND/src/dnd/Character.java @@ -0,0 +1,92 @@ +package dnd; + +public class Character { + private String name; + private int age; + private int heightFeet; + private int heightInch; + private int weigth; + private String eye; + private String hair; + private Race race; + + /** + * @param name + * @param age + * @param heightFeet + * @param heightInch + * @param weigth + * @param eye + * @param hair + */ + public Character(String name, int age, + int heightFeet, int heightInch, + int weigth, String eye, String hair, + Race race) { + this.name = name; + this.age = age; + this.heightFeet = heightFeet; + this.heightInch = heightInch; + this.weigth = weigth; + this.eye = eye; + this.hair = hair; + this.race = race; + } + /** + * Default constructor + */ + public Character() { + this.name = "null"; + this.age = 0; + this.heightFeet = 0; + this.heightInch = 0; + this.weigth = 0; + this.eye = "null"; + this.hair = "null"; + + } + /** + * @return the name + */ + public String getName() { + return name; + } + /** + * @return the age + */ + public int getAge() { + return age; + } + /** + * @return the heightFeet + */ + public int getHeightFeet() { + return heightFeet; + } + /** + * @return the heightInch + */ + public int getHeightInch() { + return heightInch; + } + /** + * @return the weigth + */ + public int getWeigth() { + return weigth; + } + /** + * @return the eye + */ + public String getEye() { + return eye; + } + /** + * @return the hair + */ + public String getHair() { + return hair; + } + + +} diff --git a/1410_DND/src/dnd/Race.java b/1410_DND/src/dnd/Race.java new file mode 100644 index 0000000..9bac47b --- /dev/null +++ b/1410_DND/src/dnd/Race.java @@ -0,0 +1,36 @@ +package dnd; + +import java.util.ArrayList; + +public class Race { + private String raceName; + private String ageRange; + private int speed; + private ArrayList traits; + private ArrayList skills; + private ArrayList laugnuage; + //private Subrace subrase; + private ArrayList proficiencies; + /** + * @param raceName + * @param ageRange + * @param speed + * @param traits + * @param skills + * @param laugnuage + * @param proficiencies + */ + public Race(String raceName, String ageRange, int speed, ArrayList traits, ArrayList skills, + ArrayList laugnuage, ArrayList proficiencies) { + this.raceName = raceName; + this.ageRange = ageRange; + this.speed = speed; + this.traits = traits; + this.skills = skills; + this.laugnuage = laugnuage; + this.proficiencies = proficiencies; + } + + + +} diff --git a/1410_DND/src/dnd/dndTestClient.java b/1410_DND/src/dnd/dndTestClient.java new file mode 100644 index 0000000..f40e51e --- /dev/null +++ b/1410_DND/src/dnd/dndTestClient.java @@ -0,0 +1,10 @@ +package dnd; + +public class dndTestClient { + + public static void main(String[] args) { + // TODO Auto-generated method stub + + } + +}