Class BranchTask
java.lang.Object
com.epicbot.api.shared.script.tree.BranchTask
- All Implemented Interfaces:
TreeTask
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TreeTaskThe failure task that will be executed whenvalidate()is false.protected abstract TreeTaskThe success task that will be executed whenvalidate()is true.final voidexecute()Execute this task.abstract booleanvalidate()Returns the condition of this branch.