| Package | Description |
|---|---|
| com.threerings.cast | |
| com.threerings.media | |
| com.threerings.media.animation | |
| com.threerings.media.sprite | |
| com.threerings.miso.client |
| Modifier and Type | Class and Description |
|---|---|
class |
CharacterSprite
A character sprite is a sprite that animates itself while walking about in a scene.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetaMediaManager.addSprite(Sprite sprite)
Adds a sprite to this panel.
|
void |
MediaPanel.addSprite(Sprite sprite)
Adds a sprite to this panel.
|
void |
MediaOverlay.addSprite(Sprite sprite)
Adds a sprite to this overlay.
|
boolean |
MetaMediaManager.isManaged(Sprite sprite) |
boolean |
MediaPanel.isManaged(Sprite sprite) |
boolean |
MediaOverlay.isManaged(Sprite sprite) |
void |
MetaMediaManager.removeSprite(Sprite sprite)
Removes a sprite from this panel.
|
void |
MediaPanel.removeSprite(Sprite sprite)
Removes a sprite from this panel.
|
void |
MediaOverlay.removeSprite(Sprite sprite)
Removes a sprite from this overlay.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnimationSprite
A Sprite that wraps an animation so that a sequence of frames can be easily moved around the
screen.
|
| 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 |
|---|
GleamAnimation(Sprite sprite,
Color color,
int upmillis,
int downmillis,
boolean fadeIn)
Creates a gleam animation with the supplied sprite.
|
GleamAnimation(SpriteManager spmgr,
Sprite sprite,
Color color,
int upmillis,
int downmillis,
boolean fadeIn)
Creates a gleam animation with the supplied sprite.
|
SpriteAnimation(SpriteManager spritemgr,
Sprite sprite,
Path path)
Constructs a sprite animation for the given sprite.
|
SpritePathAnimation(Sprite sprite,
Path path) |
| Modifier and Type | Class and Description |
|---|---|
class |
ButtonSprite
A sprite that acts as a button.
|
class |
FadableImageSprite |
class |
ImageSprite
Extends the sprite class to support rendering the sprite with one or
more frames of image animation.
|
class |
LabelSprite
A sprite that uses a label to render itself.
|
class |
OrientableImageSprite
An image sprite that uses AWT's rotation methods to render itself in
different orientations.
|
| Modifier and Type | Method and Description |
|---|---|
Sprite |
SpriteManager.getHighestHitSprite(int x,
int y)
Finds the sprite with the highest render order that hits the specified pixel.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Sprite> |
SpriteManager.enumerateSprites()
Returns an iterator over our managed sprites.
|
List<Sprite> |
SpriteManager.getSprites()
Returns a list of all sprites registered with the sprite manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteManager.addSprite(Sprite sprite)
Add a sprite to the set of sprites managed by this manager.
|
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
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) |
void |
SpriteManager.removeSprite(Sprite sprite)
Removes the specified sprite from the set of sprites managed by this manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpriteManager.getHitSprites(List<Sprite> list,
int x,
int y)
When an animated view is determining what entity in its view is under the mouse pointer, it
may require a list of sprites that are "hit" by a particular pixel.
|
void |
SpriteManager.getIntersectingSprites(List<Sprite> list,
Shape shape)
When an animated view processes its dirty rectangles, it may require an expansion of the
dirty region which may in turn require the invalidation of more sprites than were originally
invalid.
|
void |
SpriteManager.removeSprites(Predicate<Sprite> pred)
Removes all sprites that match the supplied predicate.
|
| Constructor and Description |
|---|
SpriteIcon(Sprite sprite)
Creates a sprite icon that will use the supplied sprite to render
itself.
|
SpriteIcon(Sprite sprite,
int padding)
Creates a sprite icon that will use the supplied sprite to render
itself.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DirtyItemList.appendDirtySprite(Sprite sprite,
int tx,
int ty)
Appends the dirty sprite at the given coordinates to the dirty item list.
|
Path |
MisoScenePanel.getPath(Sprite sprite,
int x,
int y,
boolean loose)
Computes a path for the specified sprite to the specified tile coordinates.
|
| Constructor and Description |
|---|
TilePath(MisoSceneMetrics metrics,
Sprite sprite,
List<Point> tiles,
int destx,
int desty)
Constructs a tile path.
|
Copyright © 2015. All rights reserved.