SkillProperty no longer has an identifier for SubSkillType

This commit is contained in:
nossr50 2019-06-02 23:24:30 -07:00
parent fc7455354f
commit 29876b4a20
2 changed files with 2 additions and 14 deletions

View File

@ -1,25 +1,15 @@
package com.gmail.nossr50.datatypes.skills.properties; package com.gmail.nossr50.datatypes.skills.properties;
import com.gmail.nossr50.datatypes.skills.SubSkillType;
public class AbstractMaximumProgressionLevel implements MaximumProgressionLevel { public class AbstractMaximumProgressionLevel implements MaximumProgressionLevel {
private SubSkillType subSkillType;
private int standardMaxLevel; private int standardMaxLevel;
private int retroMaxLevel; private int retroMaxLevel;
public AbstractMaximumProgressionLevel(SubSkillType subSkillType, int standardMaxLevel, int retroMaxLevel) { public AbstractMaximumProgressionLevel(int standardMaxLevel, int retroMaxLevel) {
this.subSkillType = subSkillType;
this.standardMaxLevel = standardMaxLevel; this.standardMaxLevel = standardMaxLevel;
this.retroMaxLevel = retroMaxLevel; this.retroMaxLevel = retroMaxLevel;
} }
@Override
public SubSkillType getSubSkillType() {
return subSkillType;
}
@Override @Override
public int getRetroMaxLevel() { public int getRetroMaxLevel() {
return retroMaxLevel; return retroMaxLevel;

View File

@ -1,10 +1,8 @@
package com.gmail.nossr50.datatypes.skills.properties; package com.gmail.nossr50.datatypes.skills.properties;
import com.gmail.nossr50.datatypes.skills.SubSkillType;
/** /**
* Skill Properties are various values used for interactions of sub-skills * Skill Properties are various values used for interactions of sub-skills
*/ */
public interface SkillProperty { public interface SkillProperty {
SubSkillType getSubSkillType();
} }