From 0581dfb7b4d74d3d48417234cd213f3b67d8a2d8 Mon Sep 17 00:00:00 2001 From: bergjoel93 <105398478+bergjoel93@users.noreply.github.com> Date: Tue, 18 Oct 2022 11:56:08 -0600 Subject: [PATCH] Add files via upload --- 1410_DND/bin/dnd/Character.class | Bin 0 -> 1424 bytes 1410_DND/bin/dnd/Race.class | Bin 0 -> 1140 bytes 1410_DND/bin/dnd/dndTestClient.class | Bin 0 -> 390 bytes 1410_DND/src/dnd/Character.java | 92 +++++++++++++++++++++++++++ 1410_DND/src/dnd/Race.java | 36 +++++++++++ 1410_DND/src/dnd/dndTestClient.java | 10 +++ 6 files changed, 138 insertions(+) create mode 100644 1410_DND/bin/dnd/Character.class create mode 100644 1410_DND/bin/dnd/Race.class create mode 100644 1410_DND/bin/dnd/dndTestClient.class create mode 100644 1410_DND/src/dnd/Character.java create mode 100644 1410_DND/src/dnd/Race.java create mode 100644 1410_DND/src/dnd/dndTestClient.java diff --git a/1410_DND/bin/dnd/Character.class b/1410_DND/bin/dnd/Character.class new file mode 100644 index 0000000000000000000000000000000000000000..3d052cd8926f7f7f399351de356275ddd5e44513 GIT binary patch literal 1424 zcmZuvT~8B16g|`L)rgp-+zDp0ytCP<0~Xw>)ckDY+oH6`JUr;w-n-5mq%(}A=k5=ZqMJfZBmBGzT4?3 zq(1S)Cy3jhc{$Ou9FKubndRE@hC^ajOFeU3$KO_XRlC`2pTC>C5j&R!>&I-fb8%|t z5XZEE3FP^RTKzZ+g}VllNC_$!NFyU?&OkOq^9FJuS}<@cM2iNDka5qzScsMl+{U=V zc-wL9gTeWU?Y*&1`r59Gj@3W5JV)~3X2S0|ALRCb#&2cN5Ss`6zCyZd`v=014! zI-0}_FT`~!q3>f%_pVugm51(UdH!}d0HMB=8Ay{oJ%-%T#lY*>yNT&)R}SSyCg>CaPL8emWsY^kuZV z{7~J1wWMxCtD7`MUR>mHDaulkrEJPcMX%K>Su6UPD{Q^WC)8NHj%kW5P)r&3v4k~d zO)bd?+YBWso~{j_&}5V+B+c)b`AQIjc$U(eo7c$6OY%C4hSRxDp8YaHei})B5J@hM wlAlMCHzLWUQSxpixfMw+kCNMwii(t=yl;{vY;m2)v5_kAQ#@Em zJn#XCPvIL7XYDo+B~KvnVDFioGc#v)XTSaY@)bY}&x*(hl!pGW*^vWPL{4DsN`8<{ zPx_;9D*gd_xXUdn4Fu-^Xd?uLQ(M`!fQk?Jsj{`_>J)KEZN2o%CV>ToKsnFd9n z_L?t(K;E?VG-O=4t4F>Jqkw_+Wt{WHYAwbUrth`qF>%?G(a4WjUcjCNN2|StKg07d&#_w z2h!`wKpXpZGZ((oyx~gwZg4phTkSdG&E$?;>5ijdpk8T{u58Bqxfx*`QA?JufKR{( zC(0Pv$x6}5O37qd3AX8{@Hw0E=WI6dhs{^OBU)!%nqdPEnCS=Y64!?N8Jq5DjE8O` z#*SN!vFAFu82hf1k8$Wag&2=qrx@eOC-Sp6;r}F2wv8Mdq8%#Q#Rm3hRdIlQ9P@vQ zLp&w7lh#2Eby}>L^eGZ#I?W`=^lHwbVJ?Vy4KjV^6J$CxXVNei#Pe~9-CI@#_Ka`O P`1Xu%lP{>ooNVJ4zS8<_?jA@S7c0m8-8w%ybrWt%LE|I3q!2Y-M+ia1+M z{5;H?otgLMW8d~KuK;E^i4YKmg((uTrQW)E#oD+CA>nwf9#v8)Qzm!WTIY_?xn{#| zMrcjWSA=k07dl1@y*}FL5C$n5eY@La+AdXAX~HP2b5*UBWgmYgL-)X2!Z`gicq&ad ziVfj(a-V)JuyB@5IcPx# literal 0 HcmV?d00001 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 + + } + +}