public interface IClimateManipulator
IClimateTransformer.| Modifier and Type | Method and Description |
|---|---|
IClimateState |
addChange(boolean simulated)
Tries to add the change value to the current state of this transformer.
|
boolean |
allowsBackwards() |
boolean |
canAdd() |
void |
finish()
Calls the
Consumer that was set with IClimateManipulatorBuilder.setOnFinish(Consumer). |
IClimateState |
getCurrent() |
IClimateState |
getDefault() |
IClimateState |
getStart() |
IClimateState |
getTarget() |
ClimateType |
getType() |
IClimateState |
removeChange(boolean simulated)
Tries to remove the change value from the current state of this transformer.
|
IClimateState getCurrent()
IClimateState getStart()
IClimateManipulatorBuilder.setCurrent(IClimateState).IClimateState getTarget()
IClimateManipulatorBuilder.setTarget(IClimateState).IClimateState getDefault()
IClimateManipulatorBuilder.setDefault(IClimateState) (IClimateState)}.boolean allowsBackwards()
Function that as set with IClimateManipulatorBuilder.setChangeSupplier(BiFunction)).ClimateType getType()
IClimateState addChange(boolean simulated)
simulated - If the add should only be simulated.IClimateState removeChange(boolean simulated)
simulated - If the remove should only be simulated.boolean canAdd()
void finish()
Consumer that was set with IClimateManipulatorBuilder.setOnFinish(Consumer).