public interface PathObserver
| Modifier and Type | Method and Description |
|---|---|
void |
pathCancelled(Sprite sprite,
Path path)
Called when a sprite's path is cancelled either because a new path was started or the path
was explicitly cancelled with
Sprite.cancelMove(). |
void |
pathCompleted(Sprite sprite,
Path path,
long when)
Called when a sprite completes its traversal of a path.
|
void pathCancelled(Sprite sprite, Path path)
Sprite.cancelMove().void pathCompleted(Sprite sprite, Path path, long when)
sprite - the sprite that completed its path.path - the path that was completed.when - the tick stamp of the media tick on which the path was completed (see
FrameManager.tick(long)) (this may not be in the same time domain as
System.currentTimeMillis()).Copyright © 2015. All rights reserved.