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 Root
addBranches(Branch... branches)
AddsBranch
s to this Root Automatically sets the Branch parent to this rootTreeScript
getTree()
Gets theTreeScript
of the Rootboolean
isValid()
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 theTreeScript
of the Root
-
addBranches
public final Root addBranches(Branch... branches)
AddsBranch
s to this Root Automatically sets the Branch parent to this root- Parameters:
branches
-Branch
s to add- Returns:
- self
-
-