mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
SkillProperty no longer has an identifier for SubSkillType
This commit is contained in:
parent
fc7455354f
commit
29876b4a20
@ -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;
|
||||
|
@ -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();
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user