Class Tree
- java.lang.Object
-
- net.eternalclient.api.frameworks.tree.Tree
-
public class Tree extends java.lang.Object
A tree object used to manage branches and leaves.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
currentBranch
static java.lang.String
currentLeaf
-
Constructor Summary
Constructors Constructor Description Tree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Leaf
addBranches(Leaf... leaves)
void
clear()
void
deregisterListeners()
java.util.List<java.lang.String>
getActiveBranches()
java.util.List<Leaf>
getBranches()
int
onLoop()
void
registerListeners()
-
-
-
Method Detail
-
getBranches
public java.util.List<Leaf> getBranches()
-
clear
public void clear()
-
getActiveBranches
public java.util.List<java.lang.String> getActiveBranches()
-
onLoop
public int onLoop()
-
registerListeners
public void registerListeners()
-
deregisterListeners
public void deregisterListeners()
-
-