| Constructor and Description |
|---|
TimedPath(long duration)
Configures the timed path with the duration in which it must
traverse its path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fastForward(long timeDelta)
This is called if the pathable is paused for some length of time and then unpaused.
|
void |
init(Pathable pable,
long timestamp)
Called once to let the path prepare itself for the process of animating the supplied
pathable.
|
String |
toString() |
void |
wasRemoved(Pathable pable)
When a path is removed from a pathable, whether that is because the path was completed or
because it was replaced by another path, this method will be called to let the path know
that it is no longer associated with this pathable.
|
public TimedPath(long duration)
public void init(Pathable pable, long timestamp)
PathPath.tick(com.threerings.media.util.Pathable, long) after Path.init(com.threerings.media.util.Pathable, long) with the same
initialization timestamp.public void fastForward(long timeDelta)
PathfastForward in interface Pathpublic void wasRemoved(Pathable pable)
PathwasRemoved in interface PathCopyright © 2015. All rights reserved.