public class SmoothBobblePath extends BobblePath
| Constructor and Description |
|---|
SmoothBobblePath(int dx,
int dy,
long duration) |
SmoothBobblePath(int dx,
int dy,
long duration,
long updateFreq) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Pathable pable,
long tickstamp)
Called once to let the path prepare itself for the process of animating the supplied
pathable.
|
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, paint, setUpdateFrequency, setVariance, stop, wasRemovedpublic SmoothBobblePath(int dx,
int dy,
long duration)
public SmoothBobblePath(int dx,
int dy,
long duration,
long updateFreq)
public void init(Pathable pable, long tickstamp)
PathPath.tick(com.threerings.media.util.Pathable, long) after Path.init(com.threerings.media.util.Pathable, long) with the same
initialization timestamp.init in interface Pathinit in class BobblePathpublic boolean tick(Pathable pable, long tickStamp)
Pathtick in interface Pathtick in class BobblePathpable - the pathable whose position should be updated.tickStamp - the timestamp associated with this frame.Copyright © 2015. All rights reserved.