|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectunc.cdva.graphics.animations.TextureAnimation
public class TextureAnimation
Class implementing a texture based animation of an object. It uses the Strategy Pattern to determine how the texture of the object has to be modified.
| Constructor Summary | |
|---|---|
TextureAnimation(TextureAnimationHandler handler)
Create a TextureAnimation object, and attach to it a handler |
|
| Method Summary | |
|---|---|
TextureAnimation |
clone()
Create a cloned version of the animation that possess the same value |
TextureAnimationHandler |
getHandler()
|
com.sun.opengl.util.texture.Texture |
getTexture()
|
void |
setHandler(TextureAnimationHandler handler)
|
void |
update(int state)
Update the animation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextureAnimation(TextureAnimationHandler handler)
handler - handler of the animation| Method Detail |
|---|
public void update(int state)
state - new state of the animationpublic TextureAnimation clone()
clone in class java.lang.Objectpublic com.sun.opengl.util.texture.Texture getTexture()
public TextureAnimationHandler getHandler()
public void setHandler(TextureAnimationHandler handler)
handler - the handler to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||