public class ExpireCleanControl
extends com.almasb.ents.AbstractControl
| 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 |
|---|---|
void |
onAdded(com.almasb.ents.Entity entity) |
void |
onUpdate(com.almasb.ents.Entity entity,
double tpf) |
public ExpireCleanControl(javafx.util.Duration expire)
expire - the duration after entity is removed from the worldCopyright © 2016. All rights reserved.