public class ExpireCleanControl extends Control
| Constructor and Description |
|---|
ExpireCleanControl(javafx.util.Duration expire)
The expire duration timer starts when the entity is attached to the world,
so it does not start immediately when this control is created.
|
| Modifier and Type | Method and Description |
|---|---|
ExpireCleanControl |
animateOpacity()
Enables diminishing opacity over time.
|
void |
onAdded(Entity entity) |
void |
onUpdate(Entity entity,
double tpf) |
public ExpireCleanControl(javafx.util.Duration expire)
expire - the duration after entity is removed from the worldpublic ExpireCleanControl animateOpacity()
Copyright © 2017. All rights reserved.