public class AnimationManager extends AbstractMediaManager implements Iterable<Animation>
ALL, BACK, FRONT| Constructor and Description |
|---|
AnimationManager() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Animation> |
iterator() |
void |
registerAnimation(Animation anim)
Registers the given
Animation with the animation manager for ticking and painting. |
void |
unregisterAnimation(Animation anim)
Un-registers the given
Animation from the animation manager. |
createGraphics, fastForward, getRegionManager, init, isManaged, paint, queueNotification, renderOrderDidChange, tick, viewLocationDidChange, willPaintequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void registerAnimation(Animation anim)
Animation with the animation manager for ticking and painting.public void unregisterAnimation(Animation anim)
Animation from the animation manager. The bounds of the
animation will automatically be invalidated so that they are properly rerendered in the
absence of the animation.Copyright © 2015. All rights reserved.