IMovementpublic class LinearInOut extends AbstractMovement
| Constructor | Description |
|---|---|
LinearInOut() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getValue(double step) |
Get value at step 'step'
|
void |
init(double min,
double max,
int steps) |
Set up the movement.
|
public double getValue(double step)
IMovementgetValue in interface IMovementgetValue in class AbstractMovementpublic void init(double min,
double max,
int steps)
IMovementinit in interface IMovementinit in class AbstractMovementmin - - min (start) valuemax - - max( end ) valuesteps - - number of steps