Class AnimManager
- java.lang.Object
-
- be.yildizgames.module.graphic.animation.AnimManager
-
public final class AnimManager extends Object
Register and play animations.- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description AnimManager(be.yildizgames.common.frame.FrameManager frameManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAnimation(String type, List<Animation> animPool)Register an animation.voidplay(String type, be.yildizgames.common.geometry.Point3D position)Starts an animation.
-
-
-
Method Detail
-
addAnimation
public void addAnimation(String type, List<Animation> animPool)
Register an animation.- Parameters:
type- Name of the animation, used to retrieve it.animPool- Pool of animations to play.
-
play
public void play(String type, be.yildizgames.common.geometry.Point3D position)
Starts an animation.- Parameters:
type- Type of the animation to play.position- Animation position.
-
-