created Cleric, Fighter, Wizard classes, rem barb
This commit is contained in:
@@ -20,6 +20,8 @@ public interface ClassTemplate {
|
||||
|
||||
String[] getToolProf();
|
||||
|
||||
String[] getSavingThrows();
|
||||
|
||||
// TODO: Need to refresh on how saving throws work and how the character's class may impact a saving throw.
|
||||
|
||||
String[] availableSkills();
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
package com.builder;
|
||||
|
||||
public class Cleric implements ClassTemplate {
|
||||
|
||||
private int HP;
|
||||
|
||||
private int level;
|
||||
|
||||
// TODO: This should be the type of die.
|
||||
private int hitDie;
|
||||
|
||||
public Cleric(Stats[] stats, int level) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to figure out how to contain class progression information. Potentially a double String array, each row equals a level, each column a different thing. Should class features be a separate class, ie. BarbFeatures, BardFeatures, etc?
|
||||
|
||||
public String getDescription() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getProgression() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getClassFeatures() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getHitDie() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getHPatLv1() {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getHPpastLv1() {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String[] getArmorProf() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getWeaponProf() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getToolProf() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] availableSkills() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] startingEquipChoices() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean advantageCheck(Stats abilityScore) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean disadvantageCheck(Stats abilityScore) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getSavingThrows() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package com.builder;
|
||||
|
||||
public class Fighter implements ClassTemplate {
|
||||
|
||||
private int HP;
|
||||
|
||||
private int level;
|
||||
|
||||
// TODO: This should be the type of die.
|
||||
private int hitDie;
|
||||
|
||||
public Fighter(Stats[] stats, int level) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: Need to figure out how to contain class progression information. Potentially a double String array, each row equals a level, each column a different thing. Should class features be a separate class, ie. BarbFeatures, BardFeatures, etc?
|
||||
|
||||
public String getDescription() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getProgression() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getClassFeatures() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getHitDie() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getHPatLv1() {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getHPpastLv1() {
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String[] getArmorProf() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getWeaponProf() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] getToolProf() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] availableSkills() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public String[] startingEquipChoices() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean advantageCheck(Stats abilityScore) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean disadvantageCheck(Stats abilityScore) {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getSavingThrows() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
+8
-6
@@ -1,19 +1,15 @@
|
||||
package com.builder;
|
||||
|
||||
public class Barbarian implements ClassTemplate {
|
||||
public class Wizard implements ClassTemplate {
|
||||
|
||||
private int HP;
|
||||
|
||||
private int numRages;
|
||||
|
||||
private int rageBonusDmg;
|
||||
|
||||
private int level;
|
||||
|
||||
// TODO: This should be the type of die.
|
||||
private int hitDie;
|
||||
|
||||
public Barbarian(Stats[] stats, int level) {
|
||||
public Wizard(Stats[] stats, int level) {
|
||||
|
||||
|
||||
|
||||
@@ -86,4 +82,10 @@ public class Barbarian implements ClassTemplate {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getSavingThrows() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user