public class NodeStateful extends java.lang.Object implements ITickableNode.Source
Modifier and Type | Class and Description |
---|---|
static class |
NodeStateful.GetterType |
static interface |
NodeStateful.IGetterFunc |
class |
NodeStateful.Instance |
Modifier and Type | Field and Description |
---|---|
IVariableNode |
getter |
IVariableNode |
last |
java.lang.String |
name |
IVariableNode |
rounderValue |
IVariableNode |
variable |
Constructor and Description |
---|
NodeStateful(java.lang.String name,
java.lang.Class<?> nodeType,
NodeStateful.IGetterFunc func) |
Modifier and Type | Method and Description |
---|---|
NodeStateful.Instance |
createTickable() |
void |
setRounder(IExpressionNode rounder) |
void |
setSource(IExpressionNode source) |
public final java.lang.String name
public final IVariableNode getter
public final IVariableNode variable
public final IVariableNode last
public final IVariableNode rounderValue
public NodeStateful(java.lang.String name, java.lang.Class<?> nodeType, NodeStateful.IGetterFunc func) throws InvalidExpressionException
InvalidExpressionException
public void setSource(IExpressionNode source)
setSource
in interface ITickableNode.Source
public void setRounder(IExpressionNode rounder) throws InvalidExpressionException
InvalidExpressionException
public NodeStateful.Instance createTickable()
createTickable
in interface ITickableNode.Source