Class SkillBased
- java.lang.Object
-
- org.dreambot.api.script.schedule.conditions.SkillBased
-
- All Implemented Interfaces:
StopCondition
public class SkillBased extends java.lang.Object implements StopCondition
-
-
Constructor Summary
Constructors Constructor Description SkillBased()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
Skill
getSkill()
void
setLevel(int level)
void
setSkill(Skill skill)
boolean
shouldStop()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dreambot.api.script.schedule.conditions.StopCondition
reset
-
-
-
-
Method Detail
-
shouldStop
public boolean shouldStop()
- Specified by:
shouldStop
in interfaceStopCondition
-
getSkill
public Skill getSkill()
-
getLevel
public int getLevel()
-
setSkill
public void setSkill(Skill skill)
-
setLevel
public void setLevel(int level)
-
-