public final class AnimManager
extends be.yildizgames.common.frame.EndFrameListener
| Constructor | Description |
|---|---|
AnimManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addAnimation(String type,
List<Animation> animPool) |
Register an animation.
|
protected boolean |
frameEnded(long time) |
|
void |
play(String type,
be.yildizgames.common.geometry.Point3D position) |
Starts an animation.
|
public void addAnimation(String type, List<Animation> animPool)
type - Name of the animation, used to retrieve it.animPool - Pool of animations to play.public void play(String type, be.yildizgames.common.geometry.Point3D position)
type - Type of the animation to play.position - Animation position.protected boolean frameEnded(long time)
frameEnded in class be.yildizgames.common.frame.FrameListenerCopyright © 2014–2018. All rights reserved.