public class ExpireCleanComponent extends Component
| Constructor and Description |
|---|
ExpireCleanComponent(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 component is created.
|
| Modifier and Type | Method and Description |
|---|---|
ExpireCleanComponent |
animateOpacity()
Enables diminishing opacity over time.
|
void |
onAdded() |
void |
onUpdate(double tpf) |
public ExpireCleanComponent(javafx.util.Duration expire)
expire - the duration after entity is removed from the worldpublic ExpireCleanComponent animateOpacity()
Copyright © 2018. All rights reserved.