Package net.sf.jiga.xtended.impl.game.gl

Examples of net.sf.jiga.xtended.impl.game.gl.AnimationGLHandler.play()


                    cursor.setLocation(p.x, p.y - cursor.getHeight());
                    if ((RenderingSceneGL._GLgetLoadState(cursor) & RenderingSceneGL._GLLOADSTATE_Cleared) != 0) {
                        RenderingSceneGL._GLloadAnim(cursor, (RenderingSceneGL) getRenderingScene(), RenderingSceneGL.PTY_ANIM);
                    }
                    AnimationGLHandler hdr = Animation._GLHandlers.getHandler(cursor);
                    hdr.play();
                    hdr.runValidate();
                    Animation._GLRenderAnimation((RenderingSceneGL) g, hdr, cursor.getBounds(new Rectangle()), z, 0, null, null, null, GLGeom.getCWrgbaColors(getRenderingScene().getForeground(), alpha));
                    GL11.glMatrixMode(GL11.GL_MODELVIEW);
                    GL11.glPopMatrix();
                }
View Full Code Here


                        if (!GLcurrentAnim.equals(anim)) {
                            GLcurrentAnim.stop();
                        }
                    }
                    refreshAnimProperties(null, currentAnim, reversed, frameRate, null);
                    anim.play();
                    GLcurrentAnim = anim;
                    animName = name;
                    if (lock) {
                        animName_lock = name;
                    } else if (name.equals(animName_lock)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.