public class PathModifier extends EntityModifier
| Modifier and Type | Class and Description |
|---|---|
static interface |
PathModifier.IPathModifierListener |
static class |
PathModifier.Path |
IEntityModifier.IEntityModifierListener, IEntityModifier.IEntityModifierMatcherIModifier.DeepCopyNotSupportedException, IModifier.IModifierListener<T>mFinishedMODIFIER_COMPARATOR_DURATION_DESCENDING| Modifier and Type | Method and Description |
|---|---|
PathModifier |
deepCopy() |
float |
getDuration() |
PathModifier.Path |
getPath() |
PathModifier.IPathModifierListener |
getPathModifierListener() |
float |
getSecondsElapsed() |
boolean |
isFinished() |
float |
onUpdate(float pSecondsElapsed,
IEntity pEntity) |
void |
reset() |
void |
setPathModifierListener(PathModifier.IPathModifierListener pPathModifierListener) |
addModifierListener, assertNoNullModifier, assertNoNullModifier, isAutoUnregisterWhenFinished, onModifierFinished, onModifierStarted, removeModifierListener, setAutoUnregisterWhenFinishedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddModifierListener, isAutoUnregisterWhenFinished, removeModifierListener, setAutoUnregisterWhenFinishedpublic PathModifier(float pDuration,
PathModifier.Path pPath)
public PathModifier(float pDuration,
PathModifier.Path pPath,
IEaseFunction pEaseFunction)
public PathModifier(float pDuration,
PathModifier.Path pPath,
IEntityModifier.IEntityModifierListener pEntityModiferListener)
public PathModifier(float pDuration,
PathModifier.Path pPath,
PathModifier.IPathModifierListener pPathModifierListener)
public PathModifier(float pDuration,
PathModifier.Path pPath,
PathModifier.IPathModifierListener pPathModifierListener,
IEaseFunction pEaseFunction)
public PathModifier(float pDuration,
PathModifier.Path pPath,
IEntityModifier.IEntityModifierListener pEntityModiferListener,
IEaseFunction pEaseFunction)
public PathModifier(float pDuration,
PathModifier.Path pPath,
IEntityModifier.IEntityModifierListener pEntityModiferListener,
PathModifier.IPathModifierListener pPathModifierListener)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic PathModifier(float pDuration,
PathModifier.Path pPath,
IEntityModifier.IEntityModifierListener pEntityModiferListener,
PathModifier.IPathModifierListener pPathModifierListener,
IEaseFunction pEaseFunction)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionprotected PathModifier(PathModifier pPathModifier) throws IModifier.DeepCopyNotSupportedException
public PathModifier deepCopy() throws IModifier.DeepCopyNotSupportedException
deepCopy in interface IEntityModifierdeepCopy in interface IModifier<IEntity>deepCopy in class BaseModifier<IEntity>IModifier.DeepCopyNotSupportedExceptionpublic PathModifier.Path getPath()
public boolean isFinished()
isFinished in interface IModifier<IEntity>isFinished in class BaseModifier<IEntity>public float getSecondsElapsed()
public float getDuration()
public PathModifier.IPathModifierListener getPathModifierListener()
public void setPathModifierListener(PathModifier.IPathModifierListener pPathModifierListener)
public void reset()
public float onUpdate(float pSecondsElapsed,
IEntity pEntity)