Class Leaf
- java.lang.Object
-
- net.eternalclient.api.frameworks.tree.Leaf
-
- Direct Known Subclasses:
Branch
public abstract class Leaf extends java.lang.ObjectThis class is an abstract class that represents a leaf in a tree structure. It provides methods to validate, start, loop, and check the status of the leaf. It also allows for registering and deregistering listeners.
-
-
Constructor Summary
Constructors Constructor Description Leaf()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidderegisterListeners()booleanisActive()booleanisStarted()abstract booleanisValid()abstract intonLoop()voidonStart()voidregisterListeners()voidsetStarted()
-
-
-
Method Detail
-
isValid
public abstract boolean isValid()
-
onStart
public void onStart()
-
onLoop
public abstract int onLoop()
-
setStarted
public void setStarted()
-
isStarted
public boolean isStarted()
-
isActive
public boolean isActive()
-
registerListeners
public void registerListeners()
-
deregisterListeners
public void deregisterListeners()
-
-