| Constructor and Description |
|---|
DelayPath(int x,
int y,
long duration)
Move to the sprite to the supplied location then wait for the duration.
|
DelayPath(long duration)
Cause the current path to remain unchanged for the duration.
|
DelayPath(Point source,
long duration)
Move to the sprite to the supplied location then wait for the duration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(Pathable pable,
long timestamp)
Called once to let the path prepare itself for the process of animating the supplied
pathable.
|
void |
paint(Graphics2D gfx)
Paint this path on the screen (used for debugging purposes only).
|
boolean |
tick(Pathable pable,
long tickstamp)
Called to request that this path update the position of the specified pathable based on the
supplied timestamp information.
|
fastForward, toString, wasRemovedpublic DelayPath(long duration)
public DelayPath(int x,
int y,
long duration)
public DelayPath(Point source, 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 paint(Graphics2D gfx)
Pathpublic boolean tick(Pathable pable, long tickstamp)
Pathpable - the pathable whose position should be updated.tickstamp - the timestamp associated with this frame.Copyright © 2015. All rights reserved.