mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +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;
|
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;
|
||||||
|
@ -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();
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user