public class ScoreAnimation
extends com.threerings.media.animation.FloatingTextAnimation
| Constructor and Description |
|---|
ScoreAnimation(Label label,
int x,
int y)
Constructs a score animation for the given score value centered at the given coordinates.
|
ScoreAnimation(Label label,
int sx,
int sy,
int destx,
int desty,
long floatPeriod)
Constructs a score animation for the given score value starting at the given coordinates and
floating toward the specified coordinates.
|
ScoreAnimation(Label label,
int x,
int y,
long floatPeriod)
Constructs a score animation for the given score value centered at the given coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
static Label |
createLabel(String score,
Color c,
Font font,
Component host)
Create and configure a Label suitable for a ScoreAnimation with all the most common options.
|
static Label |
createLabel(String score,
Color c,
Font font,
com.threerings.media.MediaPanel host)
Deprecated.
This signature is retained for backwards compatibility.
|
fastForward, flipDirection, getLabel, paint, setFloatPeriod, setLocation, tickaddAnimationObserver, isFinished, removeAnimationObserver, resetcontains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, getRenderOrder, init, intersects, intersects, invalidate, queueNotification, renderCompareTo, setRenderOrder, toString, viewLocationDidChangepublic ScoreAnimation(Label label, int x, int y)
public ScoreAnimation(Label label, int x, int y, long floatPeriod)
public ScoreAnimation(Label label, int sx, int sy, int destx, int desty, long floatPeriod)
@Deprecated public static Label createLabel(String score, Color c, Font font, com.threerings.media.MediaPanel host)
Copyright © 2015. All rights reserved.