Standardizing the 6 stats classes

This commit is contained in:
Joshua-Ashton01
2022-10-11 10:10:37 -06:00
parent b96f99c6cf
commit 2fd26cf0d0
15 changed files with 199 additions and 77 deletions
@@ -5,7 +5,6 @@ public class Strength extends Stats {
private int abilityScore;
private int abilityScoreModifier;
// FIXME: Need to implement standard constructor.
public Strength(int abilityScore) {
this.abilityScore = abilityScore;
@@ -13,6 +12,13 @@ public class Strength extends Stats {
}
public Strength(Strength str) {
this.abilityScore = str.getScore();
this.abilityScoreModifier = str.getModifier();
}
public int getScore() {
return abilityScore;