Class TreeScript
java.lang.Object
org.highlife.api.methods.MethodProvider
org.highlife.api.script.AbstractScript
org.highlife.api.script.frameworks.treebranch.TreeScript
- All Implemented Interfaces:
Runnable,EventListener,Loggable,Sleepable,PaintListener
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal RootaddBranches(Leaf... leaves) final voidclear()getRoot()intonLoop()voidsetCurrentBranchName(String currentBranchName) voidsetCurrentLeafName(String currentLeafName) Methods inherited from class org.highlife.api.script.AbstractScript
buildRandomManager, getCurrentState, getManifest, getRandomManager, getRandomThread, getScriptId, getScriptManager, getScriptTimer, getSDNName, getSDNParameters, getStoreId, getThreadURL, getVersion, isPaused, isUserSponsor, isUserVIP, onExit, onPaint, onPaint, onPause, onResume, onScheduledStop, onSolverEnd, onSolverStart, onStart, onStart, run, setState, stopMethods inherited from class org.highlife.api.methods.MethodProvider
debug, error, info, log, print, sleep, sleep, sleepUntil, sleepUntil, sleepWhile, sleepWhileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.highlife.api.script.frameworks.utility.Loggable
debug, debug, error, error, error, info, info, log, log, log, print, warnMethods inherited from interface org.highlife.api.script.frameworks.utility.Sleepable
sleep, sleep, sleepUntil, sleepUntil, sleepWhile, sleepWhile
-
Constructor Details
-
TreeScript
public TreeScript()
-
-
Method Details
-
addBranches
-
clear
public final void clear() -
onLoop
public int onLoop()- Specified by:
onLoopin classAbstractScript
-
getRoot
-
getCurrentBranchName
-
setCurrentBranchName
-
getCurrentLeafName
-
setCurrentLeafName
-