From 0a11a9a2c899a571fda0987b68410baabb6526ad Mon Sep 17 00:00:00 2001 From: T00thpick1 Date: Thu, 16 May 2013 22:00:40 -0400 Subject: [PATCH] More methods for SkillType --- .../nossr50/datatypes/skills/SkillType.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/datatypes/skills/SkillType.java b/src/main/java/com/gmail/nossr50/datatypes/skills/SkillType.java index 3cdbe89f4..565b14d2e 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/skills/SkillType.java +++ b/src/main/java/com/gmail/nossr50/datatypes/skills/SkillType.java @@ -141,6 +141,25 @@ public enum SkillType { } } + public SkillType[] nonChildSkills() { + return new SkillType[] {SkillType.ACROBATICS, + SkillType.ARCHERY, + SkillType.AXES, + SkillType.EXCAVATION, + SkillType.FISHING, + SkillType.HERBALISM, + SkillType.MINING, + SkillType.REPAIR, + SkillType.SWORDS, + SkillType.TAMING, + SkillType.UNARMED, + SkillType.WOODCUTTING }; + } + + public SkillType[] childSkills() { + return new SkillType[] { SkillType.SMELTING }; + } + public Color getRunescapeModeColor() { return runescapeColor; }