public class NodeWrapper extends Wrapper
Constructor and Description |
---|
NodeWrapper(Node node) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String[] |
getArgs()
Gets the arguments that were passed to the node
|
PlayerWrapper |
getCaster()
Gets the node's caster
|
java.lang.String |
getCommand()
Gets the code the node is executing
|
double[] |
getLocation()
Gets the node's location
|
java.lang.Object |
getMapValue(java.lang.String key)
Gets the value in the node's map associated with this key
|
double |
getPower()
Gets the node's remaining power
|
java.util.UUID |
getUid()
Gets the node's uid
|
boolean |
isAlive()
Gets whether or not the node is still executing code and exists in the world
|
public NodeWrapper(Node node)
public double[] getLocation()
public double getPower()
public PlayerWrapper getCaster()
public java.lang.String getCommand()
public java.lang.String[] getArgs()
public boolean isAlive()
public java.lang.Object getMapValue(java.lang.String key)
key
- - key to the node's specified valuepublic java.util.UUID getUid()