Class Root
- java.lang.Object
-
- org.dreambot.api.script.frameworks.treebranch.Leaf
-
- org.dreambot.api.script.frameworks.treebranch.Branch
-
- org.dreambot.api.script.frameworks.treebranch.Root
-
-
Constructor Summary
Constructors Constructor Description Root(TreeScript parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootaddBranches(Branch... branches)AddsBranchs to this Root Automatically sets the Branch parent to this rootTreeScriptgetTree()Gets theTreeScriptof the RootbooleanisValid()Defaults isValid to true, no implementation required.-
Methods inherited from class org.dreambot.api.script.frameworks.treebranch.Branch
addLeaves, clear, getChildren, onLoop
-
-
-
-
Constructor Detail
-
Root
public Root(TreeScript parent)
-
-
Method Detail
-
getTree
public TreeScript getTree()
Gets theTreeScriptof the Root
-
addBranches
public final Root addBranches(Branch... branches)
AddsBranchs to this Root Automatically sets the Branch parent to this root- Parameters:
branches-Branchs to add- Returns:
- self
-
-