| Package | Description |
|---|---|
| com.threerings.media.animation | |
| com.threerings.media.sprite | |
| com.threerings.media.util | |
| com.threerings.miso.client |
| Modifier and Type | Method and Description |
|---|---|
void |
SpritePathAnimation.pathCancelled(Sprite sprite,
Path path) |
void |
SpriteAnimation.pathCancelled(Sprite sprite,
Path path) |
void |
SpritePathAnimation.pathCompleted(Sprite sprite,
Path path,
long when) |
void |
SpriteAnimation.pathCompleted(Sprite sprite,
Path path,
long when) |
| Constructor and Description |
|---|
SpriteAnimation(SpriteManager spritemgr,
Sprite sprite,
Path path)
Constructs a sprite animation for the given sprite.
|
SpritePathAnimation(Sprite sprite,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
Path |
Sprite.getPath()
Returns the path being followed by this sprite or null if the sprite is not following a path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Sprite.move(Path path)
Set the sprite's active path and start moving it along its merry way.
|
void |
FadableImageSprite.moveAndFadeIn(Path path,
long pathDuration,
float fadePortion)
Puts this sprite on the specified path and fades it in over the specified duration.
|
void |
FadableImageSprite.moveAndFadeInAndOut(Path path,
long pathDuration,
float fadePortion)
Puts this sprite on the specified path, fading it in over the specified duration at the
beginning and fading it out at the end.
|
void |
FadableImageSprite.moveAndFadeOut(Path path,
long pathDuration,
float fadePortion)
Puts this sprite on the specified path and fades it out over the specified duration.
|
void |
PathObserver.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 |
PathAdapter.pathCancelled(Sprite sprite,
Path path) |
void |
PathObserver.pathCompleted(Sprite sprite,
Path path,
long when)
Called when a sprite completes its traversal of a path.
|
void |
PathAdapter.pathCompleted(Sprite sprite,
Path path,
long when) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArcPath
The line path is used to cause a pathable to go from point A to point B
along the arc of an ellipse in a certain number of milliseconds.
|
class |
BobblePath
Bobble a Pathable.
|
class |
DelayPath
A convenience path that waits a specified amount of time.
|
class |
LinePath
The line path is used to cause a pathable to go from point A to point B in a certain number of
milliseconds.
|
class |
LineSegmentPath
The line segment path is used to cause a pathable to follow a path that is made up of a
sequence of line segments.
|
class |
PathSequence
Used to create a path that is a sequence of several other paths.
|
class |
SmoothBobblePath
Bobble a Pathable smoothly.
|
class |
TimedPath
A base class for path implementations that endeavor to move their pathables along a path in a
specified number of milliseconds.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
LinePath.getTranslatedInstance(int x,
int y)
Return a copy of the path, translated by the specified amounts.
|
Path |
ArcPath.getTranslatedInstance(int x,
int y)
Return a copy of the path, translated by the specified amounts.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PathSequence.addPath(Path path)
Add a new path to the end of our current list.
|
| Constructor and Description |
|---|
PathSequence(Path first,
Path second)
Conveniently construct a path sequence with the two specified paths.
|
| Constructor and Description |
|---|
PathSequence(List<Path> paths)
Construct a path sequence with the list of paths.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TilePath
The tile path represents a path of tiles through a scene.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
MisoScenePanel.getPath(Sprite sprite,
int x,
int y,
boolean loose)
Computes a path for the specified sprite to the specified tile coordinates.
|
Copyright © 2015. All rights reserved.