public class LinearInOut extends AbstractMovement
| Modifier and Type | Field and Description |
|---|---|
(package private) double |
increment |
duration, max, min| Constructor and Description |
|---|
LinearInOut() |
| Modifier and Type | Method and 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