Interface IPositionedVariable<V extends IValue>
- All Superinterfaces:
IVariable<V>
,IVariableInvalidateListener
A variable that exists at a certain position.
-
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.cyclopscore.datastructure.DimPos
boolean
void
update()
Called when this variable should update.Methods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IVariable
addInvalidationListener, getType, getValue
Methods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IVariableInvalidateListener
invalidate
-
Method Details
-
getTarget
org.cyclops.cyclopscore.datastructure.DimPos getTarget()- Returns:
- The target of this aspect variable.
-
requiresUpdate
boolean requiresUpdate()- Returns:
- If this variable requires updating.
-
update
void update()Called when this variable should update. This is only called when required, so there is no guarantee that this is called in a regular pattern.
-