|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Animator
An Animator takes Animatable Nodes and animates them by a constant loop.
Animatable| Method Summary | |
|---|---|
void |
addAnimatableObject(Animatable animObj)
Adds an animatable object to the set. |
void |
addAnimatableObject(Animatable animObj,
boolean startAnimation)
Adds an animatable object to the set. |
void |
removeAnimatableObject(Animatable animObj)
Removes an animatable object from the set. |
void |
update(long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
Updates this Updatable object. |
| Method Detail |
|---|
void addAnimatableObject(Animatable animObj,
boolean startAnimation)
animObj - the object to animatestartAnimation - if true the startAnimation() method is executed immediatelyvoid addAnimatableObject(Animatable animObj)
animObj - the object to animatevoid removeAnimatableObject(Animatable animObj)
animObj - the object to remove
void update(long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
update in interface UpdatablegameTime - the gameTime in MillisecondsframeTime - the frameTime in Milliseconds (needed time for the last frame)timingMode - the TimingMode to use for frameTime.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||