public abstract class PieceGroupAnimation
extends com.threerings.media.animation.Animation
implements com.threerings.media.sprite.PathObserver
| Constructor and Description |
|---|
PieceGroupAnimation(DropBoardView view,
DropBoard board)
Creates a piece group animation which must be initialized with a subsequent call to
AbstractMedia.init(AbstractMediaManager). |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(Graphics2D gfx) |
void |
pathCancelled(com.threerings.media.sprite.Sprite sprite,
com.threerings.media.util.Path path) |
void |
pathCompleted(com.threerings.media.sprite.Sprite sprite,
com.threerings.media.util.Path path,
long when) |
void |
tick(long tickStamp) |
addAnimationObserver, isFinished, removeAnimationObserver, reset, setLocationcontains, contains, contains, contains, fastForward, getBounds, getBounds2D, getPathIterator, getPathIterator, getRenderOrder, init, intersects, intersects, invalidate, queueNotification, renderCompareTo, setRenderOrder, toString, viewLocationDidChangepublic PieceGroupAnimation(DropBoardView view, DropBoard board)
AbstractMedia.init(AbstractMediaManager).public void tick(long tickStamp)
tick in class com.threerings.media.AbstractMediapublic void paint(Graphics2D gfx)
paint in class com.threerings.media.AbstractMediapublic void pathCancelled(com.threerings.media.sprite.Sprite sprite,
com.threerings.media.util.Path path)
pathCancelled in interface com.threerings.media.sprite.PathObserverpublic void pathCompleted(com.threerings.media.sprite.Sprite sprite,
com.threerings.media.util.Path path,
long when)
pathCompleted in interface com.threerings.media.sprite.PathObserverCopyright © 2015. All rights reserved.