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;
import com.gmail.nossr50.datatypes.skills.SubSkillType;
public class AbstractMaximumProgressionLevel implements MaximumProgressionLevel {
private SubSkillType subSkillType;
private int standardMaxLevel;
private int retroMaxLevel;
public AbstractMaximumProgressionLevel(SubSkillType subSkillType, int standardMaxLevel, int retroMaxLevel) {
this.subSkillType = subSkillType;
public AbstractMaximumProgressionLevel(int standardMaxLevel, int retroMaxLevel) {
this.standardMaxLevel = standardMaxLevel;
this.retroMaxLevel = retroMaxLevel;
}
@Override
public SubSkillType getSubSkillType() {
return subSkillType;
}
@Override
public int getRetroMaxLevel() {
return retroMaxLevel;

View File

@ -1,10 +1,8 @@
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
*/
public interface SkillProperty {
SubSkillType getSubSkillType();
}