public class LiftComponent extends Component
| Constructor and Description |
|---|
LiftComponent(javafx.util.Duration duration,
double distance,
boolean goingUp)
Constructs lift component (moving vertically).
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAdded() |
void |
onUpdate(double tpf) |
public LiftComponent(javafx.util.Duration duration,
double distance,
boolean goingUp)
duration - duration going (one way)distance - the distance entity travels (one way)goingUp - if true, entity starts going up, otherwise downCopyright © 2018. All rights reserved.