| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
T |
getEntity() |
abstract boolean |
isComplete() |
protected void |
onAdded(T entity) |
protected void |
onRemoved(T entity) |
protected abstract void |
onUpdate(T entity,
double tpf)
Called on entity world update tick.
|
public final T getEntity()
protected void onAdded(T entity)
protected void onRemoved(T entity)
public abstract boolean isComplete()
protected abstract void onUpdate(T entity, double tpf)
entity - the entity to which this action is attachedtpf - time per frameCopyright © 2017. All rights reserved.