From 29876b4a20c2e11368a62e589b3b89880c72458f Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sun, 2 Jun 2019 23:24:30 -0700 Subject: [PATCH] SkillProperty no longer has an identifier for SubSkillType --- .../properties/AbstractMaximumProgressionLevel.java | 12 +----------- .../datatypes/skills/properties/SkillProperty.java | 4 +--- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java b/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java index 15d4c65ba..d573116d4 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java +++ b/src/main/java/com/gmail/nossr50/datatypes/skills/properties/AbstractMaximumProgressionLevel.java @@ -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; diff --git a/src/main/java/com/gmail/nossr50/datatypes/skills/properties/SkillProperty.java b/src/main/java/com/gmail/nossr50/datatypes/skills/properties/SkillProperty.java index 6a3895884..ca0ce3c67 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/skills/properties/SkillProperty.java +++ b/src/main/java/com/gmail/nossr50/datatypes/skills/properties/SkillProperty.java @@ -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(); + }