Class ConditionalRequirement
- java.lang.Object
-
- org.dreambot.api.data.requirements.Requirement
-
- org.dreambot.api.data.requirements.ConditionalRequirement
-
public class ConditionalRequirement extends Requirement
-
-
Constructor Summary
Constructors Constructor Description ConditionalRequirement(org.dreambot.api.data.requirements.LogicType logicType, Requirement... requirements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dreambot.api.data.requirements.LogicType
getLogicType()
boolean
meetsRequirement()
void
setLogicType(org.dreambot.api.data.requirements.LogicType logicType)
-
Methods inherited from class org.dreambot.api.data.requirements.Requirement
add, getRequirements
-
-
-
-
Constructor Detail
-
ConditionalRequirement
public ConditionalRequirement(org.dreambot.api.data.requirements.LogicType logicType, Requirement... requirements)
-
-
Method Detail
-
meetsRequirement
public boolean meetsRequirement()
- Overrides:
meetsRequirement
in classRequirement
-
getLogicType
public org.dreambot.api.data.requirements.LogicType getLogicType()
-
setLogicType
public void setLogicType(org.dreambot.api.data.requirements.LogicType logicType)
-
-