Package org. powbot. api. script. tree
Types
Branch
Link copied to clipboard
abstract class Branch<S : TreeScript>(script: S, name: String) : TreeComponent<S>
Content copied to clipboard
Leaf
Link copied to clipboard
abstract class Leaf<S : AbstractScript>(script: S, name: String) : TreeComponent<S>
Content copied to clipboard
Simple Branch
Link copied to clipboard
class SimpleBranch<S : TreeScript>(script: S, name: String, successComponent: TreeComponent<S>, failedComponent: TreeComponent<S>, validator: () -> Boolean) : Branch<S>
Content copied to clipboard
Simple Leaf
Link copied to clipboard
class SimpleLeaf<S : AbstractScript>(script: S, name: String, action: () -> Unit) : Leaf<S>
Content copied to clipboard
Allows Scripters to create a very basic leaf that will execute a lambda Unit.
Tree Component
Link copied to clipboard
abstract class TreeComponent<S : AbstractScript>(script: S, name: String)
Content copied to clipboard
Tree Script
Link copied to clipboard