minor edits, correcting constructor names
This commit is contained in:
@@ -8,7 +8,7 @@ public class Dwarf implements Race{
|
|||||||
private String[] languages;
|
private String[] languages;
|
||||||
private String[] proficiencies;
|
private String[] proficiencies;
|
||||||
|
|
||||||
public Dragonborn() {
|
public Dwarf() {
|
||||||
|
|
||||||
this.languages = new String[] {"Common", "Dwarvish"};
|
this.languages = new String[] {"Common", "Dwarvish"};
|
||||||
this.skills = new String[] {};
|
this.skills = new String[] {};
|
||||||
|
|||||||
@@ -7,12 +7,15 @@ public class HalfElf implements Race{
|
|||||||
private String[] skills;
|
private String[] skills;
|
||||||
private String[] languages;
|
private String[] languages;
|
||||||
private String[] proficiencies;
|
private String[] proficiencies;
|
||||||
|
private int chosenASI;
|
||||||
|
|
||||||
//TODO HalfElf get's to increase 1 ASI of their choice to increase.
|
//TODO HalfElf get's to increase 1 ASI of their choice to increase.
|
||||||
public HalfElf(String chosenLanguage, int choseASI) {
|
public HalfElf(String chosenLanguage, int chosenASI) {
|
||||||
|
|
||||||
this.languages = new String[] {"Common", "Elvish", chosenLanguage };
|
this.languages = new String[] {"Common", "Elvish", chosenLanguage };
|
||||||
this.skills = new String[] {};
|
this.skills = new String[] {};
|
||||||
|
this.chosenASI = chosenASI;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package dnd;
|
package dnd;
|
||||||
|
|
||||||
public class Elf implements Race{
|
public class Halfling implements Race{
|
||||||
private String[] traits;
|
private String[] traits;
|
||||||
private final int speed = 30;
|
private final int speed = 30;
|
||||||
private final int maxAge = 750;
|
private final int maxAge = 750;
|
||||||
@@ -8,7 +8,7 @@ public class Elf implements Race{
|
|||||||
private String[] languages;
|
private String[] languages;
|
||||||
private String[] proficiencies;
|
private String[] proficiencies;
|
||||||
|
|
||||||
public Dragonborn() {
|
public Halfling() {
|
||||||
|
|
||||||
this.languages = new String[] {"Common", "Elvish"};
|
this.languages = new String[] {"Common", "Elvish"};
|
||||||
this.skills = new String[] {};
|
this.skills = new String[] {};
|
||||||
|
|||||||
Reference in New Issue
Block a user